[PATCH v2 1/2] kernelbase: Fix PathAllocCanonicalize handling segments that contain dots.