Some more work on sqlfs; TODO: fix error with multiple writes/snappy