Fix path for case-sensitive file systems.