Fix SettingsCustomLoggingTest on Windows when path contains \u