Replacing the preferences file in Portfolio for Windows