* Fix block alignment issue in write(): when we update a file, be sure
to hash the appropriate range and report the appropriate amount written.
* Fix log import in syntool.py
* Begin consolidating write code, in order to address issue 70.
Remove dead code in write().  In doing so, we avoid the need to expand a
file before writing to it.  The expansion will happen automatically,
saving us a lot if unnecessary I/O on a large write.