Fix loading XML file with a '&' or '=' or ':' in file pathname.