Fixes #351 (help improve zed dialog), hopefully.
What this does in case a `user.json` file is corrupt (syntax errors) is
make a backup under `user.backup.json` then write a new user.json with
the preference (in this case enableAnalytics) written. This restores
sanity without really losing configuration data.