capture errors emitted by process.stdin object
formatting change to match code base
Merge pull request #268 from gtg092x/captureerror

Bind error event to process.stdin to help manage errors involving streams