Rename to memstream.
Moved implementation to lib.rs