Renames dir to lowercase