use posixpath instead of os.path in path module