Fix #230 (issues with UTF-8 filenames in prefs data on OSX).
We use 'defaults export' rather than 'defaults read' to grab the prefs data on OSX now, which loads the prefs much faster and also properly deals with filenames containing UTF-8 characters.