Rename directory renames index file