shutil: Fall back to a copy if link() returns EPERM too
shutil: Fall back to a copy if link() returns EPERM too

There are a few reasons we could get EPERM such as
/proc/sys/fs/protected_hardlinks being enabled.

This was showing up using rpm-ostree with Bodhi; we haven't fully
debugged it, but suspect this patch will fix it.

GNOME/libgsystem,Distrotech/libgsystem,GNOME/libgsystem,Distrotech/libgsystem