Making sure string fields aren't too wide in fixed format, and making sure double quotes don't appear in xml attributes