Snapshot/Restore: switch to write once mode for snapshot metadata files

This commit removes creation of in-progress snapshot file and makes creation of the final snapshot file atomic.

Fixes #8696
I think this can just be 

```Java
Files.move(sourcePath, targetPath, StandardCopyOption.ATOMIC_MOVE);
````