Fixed misuse of os.path.join