Use xml.sax.saxutils escape instead of one from generateds

Change-Id: I29d6d7191492e84650df3a3c95e127fc6beb1097
Partial-Bug: #1394044
(cherry picked from commit 0c06395d96252fe70fa5af6c95c9e34fb12870f7)