Also, you must specify process.stderr as the first argument of _write.