replace process.stdin.resume() with .read() to work with node v0.10 streams

fixes #6.

not tested for node v0.8, if it doesn't work might be necessary to use [readable-stream](https://github.com/isaacs/readable-stream).