Node utility to help with handling output from spawned child processes