WriteTo methods for nodes and node parts.
Remove reference to `fp` (was an open RandomAccessFile).