IStr[] pathSplit(IStr str, PathSepStyle style = PathSepStyle.native)
Splits the path using a static buffer and returns the result.