Fix sending emails with UTF-8 characters in them with Perl >= 5.18.