in Sources/Hub/Downloader.swift [298:306]
func urlSession(_: URLSession, downloadTask _: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
do {
// If the downloaded file already exists on the filesystem, overwrite it
try FileManager.default.moveDownloadedFile(from: location, to: destination)
downloadState.value = .completed(destination)
} catch {
downloadState.value = .failed(error)
}
}