Treat EPERM as indicative of non-empty dir

As per http://sourceforge.net/mailarchive/message.php?msg_id=31240176
sshfs-mounted directories return EPERM on rmdir called with non-empty
dir. Hence removing non-empty directories mounted through sshfs didn't
work with rimraf, and this change makes it work.
v2.2.6