Naive node.js buffer stream reader