Write new registry entries out to a temporary file before moving them at the end to prevent half-baked registry files if user interrupts the process.
Write new registry entries out to a temporary file before moving them
at the end to prevent half-baked registry files if user interrupts
the process.

git-svn-id: 620571fa9b4bd0cbce9a0cf901e91ef896adbf27@753 d073be05-634f-4543-b044-5fe20cf6d1d6

danchr/macports-base,danchr/macports-base,macports/macports-base,neverpanic/macports-base,macports/macports-base,neverpanic/macports-base