cleaning up error output for cygwin.