Safer saving, write to tox_save.tmp then rename it to tox_save.