Save settings file to $HOME on OSX/*Nix platforms and %APPDATA% on Windows.