Sanitize sendmail's to_addrs parameter

This allows sending emails to addresses containing non-ascii characters.