On Windows, os.path.normpath  converts forward slashes to backward slashes.