util/disk_cache: delete .tmp if target exists