fn write_fingerprint(loc: &Path, fingerprint: &Fingerprint) -> CargoResult<()>