wrap a readable/writable stream to be write-only