Fix typo: utf_8 to utf-8 and latin_1 to latin1

Although python will accept both, some e-mail clients get confused. According to the http://www.ietf.org/rfc/rfc3629 and ISO/IEC 8859-1, valid encoding identifiers are latin1 and utf-8.