utils: Avoid read race between touch_healthz_file and check_healthz
Atomically replace settings.HEALTH_CHECK_FILE using os.rename
. This
should eliminate ValueError failures from check_healthz caused by
reading while the file has been truncated for write.