File transfers need to be escaped, causing connections to crash if they contain illegal xml characters.