Pickle the user settings to a base64 string