Directory name changes are not managed

Whenever a directory name changes, even though the wd is the same, _wds and _paths directories are not updated.