convert to through2

- updated implementation
- updated tests (streams2 prefers handling text streams as encoded buffers unless the stream is in object mode)
- updated version number in package.json. `2.0.0` was chosen to align with streams2.
see #1