Escape control characters

Excel crashes if it encounters unescaped control characters.
So when creating the sharedStrings.xml file, we need to make sure
we encode all control characters to be Excel compatible.