[ALOY-813] fix escaping of unicode sequences in xml attributes

Ticket: [https://jira.appcelerator.org/browse/ALOY-813](https://jira.appcelerator.org/browse/ALOY-813)