Since we are not using self.logMsg, this is needed incase the path contains unicode characters (window username)