According to the notes on office .dotm files, they are similar (or the same) in structure to the .docx files - in other words a zip archive.
If I extract the contents of a .dotm file (using an archiving tool), and then recompress the resulting files back into a .dotm file, preserving the structure (file locations) exactly - MSWord2007 complains that the new .dotm file is invalid.
What additional formatting (in detail) for .dotm files is required that the archiving tool does not (by default) or cannot provide?