Shouldn't this use os.sep?