prefs: override project and file pref roots to do proper cloning

(integrated from trunk branch change 535581c by Todd Whiteman <toddw@activestate.com>)