Gnc-Prefs: make the prefs migration actually do something on Windows

... which is more than simply not crashing

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23287 57a11ea4-9604-0410-9ed3-97b8803252fd