[osx] Compress whitespace in Preferences