fn promote( cache: &mut Cache, package: &PackageInfo, temp: &Path, ) -> Result<(), Failure>
Identical bytes another package already stored are kept and the temp file dropped.