io in node.js - stream vs buffering