issue 17: fix 'report this error' output handling on windows