Use os.sep instead of '/' for Windows compatibility.

Thanks to P. J. Eby for the report.