Fix Python error with non-US-ASCII paths, fixes #14990

Currently all python scripts are ended with error on Win32 if user profile of main XBMC directory paths contain non US-ASCII letters.
This PR fix related mess in PythonInvoker. 
Additionally fixed encoding in Log.