Writes a file atomically: concurrent compiles of the same source may race to store the same entry, and a reader must never see a partial file.
Final path of the file
Writes the contents to tmp
tmp
Writes a file atomically: concurrent compiles of the same source may race to store the same entry, and a reader must never see a partial file.