[ts.path] Bugfix, use os.sep not os.pathsep

Pathsep is used to parse $PATH, sep is used to parse paths. Perfectly
logicaly.