working example of streams + node.js