title: can't figure out why archiveRootObject is failing to write file
body: <p>this seems to work fine in the simulator but on the device the files are not being written.</p>
  
  <p>here's the code.</p>
  
  <pre><code>-(void)saveOld{
  
  NSArray *saveState = [NSArray arrayWithObjects:headArray,dropQArray,[NSNumber numberWithInt:dropLimit],[NSNumber numberWithInt:dropCount],[NSNumber numberWithInt:score],[NSNumber numberWithInt:level],[NSNumber numberWithInt:maxChain],nil];
  
  NSMutableString *path = [[NSHomeDirectory() mutableCopy]autorelease];
  [path appendString:@"/saveState"];
  
  BOOL saved = [NSKeyedArchiver archiveRootObject:saveState toFile:path];
  NSLog(@"did save state %d",saved);
  path = [[NSHomeDirectory() mutableCopy]autorelease];
  [path appendString:@"/isSaveState"];
  
  
  saved = [NSKeyedArchiver archiveRootObject:[NSNumber numberWithBool:1] toFile:path];
  NSLog(@"did save state %d",saved);
  }
  </code></pre>