Quick fix for saving bug on windows.