replace read-write-stream with through2

Addresses the issues discussed in #2.