[Git][pacman/pacman][master] log and set errno when failing to rename download