Added a test for PointStream I/O.
* Fixed a couple serialization bugs in PointStream.write(File)