Improve formatting of the generated docx file.