Properly show tracebacks when filepaths contain non ascii values

I had a flask project running from a folder called "Arbeitsfläche" there was a bug in my code which caused werkzeug to show the debug page. The page could not be shown though because of the non ascii value in the path (werkzeug simply crashed). This small commit fixes this and allows me to see the traceback in the browser output.