Yet another go to fix XML write issues ...

... in combination with not fuckign up with windows ..
you fucking fuck!

sorry.