rpmgs: remove file if download is failed