Add support for knocking out directories that contain files or directories with the same name