prov interop: writing to stream