Fix App.user_data_dir on windows.
Merge pull request #1169 from bob-the-hamster/windows-user_data_dir-fix

Fix App.user_data_dir on windows.