Added backwards compatibility with Node v0.8 by using readable-stream package.