String-to-stream adapter for Node v0.10+ streams