As suggested previously, let's use ``stream.pipe`` to simplify the code:

```diff
-phantomas.stdout.on('data', function (data) {
-    process.stdout.write(new Buffer(data).toString('utf8'));
-});
-
-phantomas.stderr.on('data', function (data) {
-       process.stderr.write(new Buffer(data).toString('utf8'));
-});
+phantomas.stdout.pipe(process.stdout);
+phantomas.stderr.pipe(process.stderr);
```

And we're ready to merge this one :)