Well, you could paste the content of the thmx file in your addin file and use a bit of code to push it out to a textfile.