Fix encoding of the report

Was issuing a traceback.  With this change, the report is encoded to utf-8 prior to constructing the email message.