Fix windows bug where error output is truncated

On Windows, when running mocha after jshint, all mocha output (passes, failures, which tests failed, etc) is truncated due to this bug: https://github.com/cowboy/node-exit/issues/7.