[INTERNAL] move xml escape function

- move xml escape function from XMLFile to XMLHandler
- Handler usually has the task to properly escape strings (not the file
  which handles higher level operations)
[FIX] read and write the filterLine attribute

- fix MzXML file handling, no longer ignore filterLine attribute
[TEST] fix tests