Fixed issue regarding use of os.path on Windows