fix stream pause mode in node 0.10.x by @ranzwertig