Fixed cd-within-archive and umount rmdir bug