Use os.path.sep for Windows support