A stream to read/write from a backend.
This represents a stream of data being written to or read from a
backend. When writing, the frontend functions take care of
calculating the object's id and all finalize_write
needs to do is
store the object with the id it is passed.