Fixes bugs with loading XML files using libxml_disable_entity_loader
to try to ward off injection attacks