prefs: give YAML 2-space indentation

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