streaming writer/reader for uncompressed data