fix #25254: XML export from 1.3 with & in text causes MSCZ corruption