Automatic merge from submit-queue (batch tested with PRs 49898, 49897, 49919, 48860, 49491) gce: make append_or_replace.. atomic Before this change, * the final echo is not atomically written to the target file * two concurrent callers will use the same tempfile Helps with https://github.com/kubernetes/kubernetes/issues/49895 cc @miekg