[PATCH] kernelbase: Fix PathAllocCanonicalize handling segments that contain dots.