re-implemented MVM_dir_rmdir and MVM_dir_chdir