storage: use streams.
Merge pull request #118 from stephenplusplus/storage-stream

storage: use streams.