use SafeFiles in persist.SaveFile
Previous usage of SaveFile was unsafe because it was not atomic. This incurred a risk of data loss whenever siad was forcibly killed. By using SafeFiles by default, data loss should be minimized.
(I made this after I got burned by forcibly killing siad and losing my host/settings.json