def _split_path(self, path):
        if "\\" in path:
            if "/" in path:
                raise UnsupportedPathError(path)
            return path.partition("\\")

        elif "/" in path:
            if "\\" in path:
                raise UnsupportedPathError(path)
            return path.partition("/")
        else:
            return path, "", ""
Hack to try to support both types of file system paths:
dataset/ETHPy150Open williballenthin/python-ntfs/ntfs/filesystem/__init__.py/NTFSDirectory._split_path