preprocessor: add support for node >= v0.11.3

Listening for the "data" event directly