Fix case insensitive filename issue.