set encoding in PremisXmlWriter