PathComp: distinguish toNativePath() and canonicalPath()

Do not uppercase in toNativePath(), but in canonicalPath() with
canonicalizing.