ENH: SplitPath now supports slashes in both directions in the input path but still produces forward slashes in the root component.
ENH: SplitPath now supports slashes in both directions in the input path but still produces forward slashes in the root component.