Fixed Err with new Stream API and Node v0.10.5

Thanks to @pianomansam for the Diff