windows fix for output
another shot at getting the path right when outputting errors