added exception handling for copying files during grub install (efi)