Tail log files using node.js and socket.io