pub fn store(path: &Path, c: &Cache) -> Result<()>
Write via a temp file and rename, so a reader never sees half a file.