Part one of case-insensitive rename.
Part two of case-insensitive rename.