Atomically update snapshot store file