fix: Project Templates: Ensure prefs are saved as part of the template
https://bugs.activestate.com/show_bug.cgi?id=104535
rn=

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