Use os.path.normpath to normalize slashes on Windows