fix command-line scripts to work with username.json files

`index.js edit` and `index.js reset` were still looking for the older `HOME/user/USERNAME/user.json` format. I've just changed it to point to the new `HOME/user/USERNAME.json` format.

This goes with issue #260