fetch_to_fd
if ((fd_pkg = fetch_to_fd(repo, url, tmppkg, fetchOpts)) == -1)
if ((fd_sig = fetch_to_fd(repo, url, tmpsig, fetchOpts)) == -1) {