Update RenameManager.java

- Fixing subdirectory renaming logic.