Move Windows safe file creation code into WebCore from WebPreferences