Atomic file creation with temporary files | Hacker News Reader