I’m going to have to test it here, I’m thinking the RIO is not going have the permissions to write the context files in that location.
That said, it looks like the error is more about the formatting of the settings.js file.
Did you double check the indenting? @torchard gave some hints on that…
Look at the last few posts here: Change Editor Theme
Also be aware that a firmware update will blow away those context files, so you will need to back them up and restore them when you update firmware.
Power cycle (or simple reset) should be fine assuming it can write the context files.