#340 Added os.path.normpath() to escape resource names on Windows