Outputs pretty xml for better human readability.

Hi
I like your addon a lot. 
I also edit generated file manually but the generated xml is really hard to read and change. So I decided to address this. After the change the generated xml is pretty formated using minidom as ElementTree doesn't support it.