Normalize the case of a pathname