LogWriter: Allow users to specify block size

See #3.