some fixes for the new write operations
doc fixes
Merge pull request #82 from lavelle/write-fixes

Some fixes for the new write operations