Fix bugs in AtomicFileCreate

Fix some small typos which make this not work at all.