Use BytesIO instead of StringIO for excel export
Use BytesIO instead of StringIO for excel export

See https://github.com/jmcnamara/XlsxWriter/issues/331#issuecomment-173225216

Code4SA/pmg-cms-2,Code4SA/pmg-cms-2,Code4SA/pmg-cms-2