A handy way to hook into process.stderr and process.stdout.