fixed pipe and Promise<Stream>.toStream. All tests succeed.