ENH: improved cross platform compatibility by using os.path.sep