Make child_process.spawn behave like a read stream, emit error event with full message (and not emit 'end' event wrongfully).