stream.emit empty bug fixed

If you call stream.emit('data') with a empty string, mu crashes. I just fixed this by simply replacing the empty string by a end-of-stream char.