Pretty printing xml and utf-8 xml export

Pretty printing the xml output should be mandatory, as user should be able to check the generated xml before import :)

utf-8 encoding the xml generated by lxml allow proper export of accentuated characters.