Fix xml header in writemime
Merge pull request #10 from timholy/master

Fix xml header in writemime