Changelog
8da5877 Allow closing of already closed buffers
ce92343 Ensure int64 is 8 byte aligned for sync/atomic to work on 32 bit arcitechtures
b304dc0 Fix problem writing more data to buffer than fits in memory
e29ab16 Option to set if files should be flushed to disk between every record write.