Use os.path.sep for Windows support

Fixes #238