UP: Protected the docx import

This prevents a broken `docx` package from ruining the rest of the module.