fix Transform#createStream.