Converting the stream from a Writable to a Transform