fixed a cross-platform issue with the os path separator

i had an issue on windows because the path separator was hard coded to a colon. on windows, the path separator is a semi-colon. i fixed by using the `os.pathsep` property.