PartitionPath panics if root path with wrong OS.