Changed rm to rmdir for SSHFS mount