Don't crash when saving template bundles that have unicode chars



git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20535 a0171fae-0946-0410-966d-b1775066cd26
Refs #17641 Destinet; put templates customized on production to bundles

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20536 a0171fae-0946-0410-966d-b1775066cd26