title: python plistlib file invaded by cocoa values?
body: <p>I'm using plistlib to create and update a simple plist file in OS X.  A tester in Norway is getting an error from plistlib: </p>
  
  <pre><code>File "../axeomatic2/normal/build/pyi.darwin/aomDSP/out03-PYZ.pyz/plistlib", line 406, in parse
  xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 8
  </code></pre>
  
  <p>Looking at the plist file that was generated on his system, I see fields like this interspersed with the expected entries:</p>
  
  <pre><code>NSTableView Sort Ordering       Array
  ...
  NSTableView Hidden Columns      Array
  ...
  NSTableView Columns             Array
  ...
  NSNavLastRootDirectory          Array
  </code></pre>
  
  <p>If I give him a plist from my system it works fine, but any time the program decides it needs to create one from scratch it gets an error.</p>
  
  <p>I thought perhaps it was an encoding problem, but we're both on OS X 10.7 and both using the OS X version of UTF-8.  </p>
  
  <p>Any ideas as to what might be happening, or how I might troubleshoot this remotely?</p>