added fix for infinite rmdir loop
added fix for infinite rmdir loop

Signed-off-by: Brian White <d8bbf19083844493ef08581d1c38fbc50ba5d18b@mscdex.net>

bmcorum/node-ftp,icetee/node-ftp,vavere/node-ftp,rudiculous/node-ftp,HalfdanJ/node-ftp,mscdex/node-ftp