BUG: Work-around openpyxl-2.1.0 NumberFormat removal

See #8342. This patch should allow all tests to pass with any supported openpyxl v1, and with openpyxl 2.1.0. Consider this an interim measure, not a complete fix.