Symlink 404 cache files atomically to avoid potential race condition.

See websharks/quick-cache#242.

---

@jaswsinc When you get a chance, could you do a quick code review here for me? I'm a bit sleepy. ;)