shutil: Treat ELOOP like ENOTDIR

We can apparently get this if we try to open with O_NOFOLLOW a chain
of symlinks.  Just treat it like it's not a directory so we unlink.