Correctly save prefs file in Firefox 3.6 and older
(regression in 959857fced0a22318a2eedce026976836c799c46 commit)