MS Office is quite picky about what is a valid docx file and what isn't, so I spent a super-fun afternoon trying to make it happy.