[bug 1055725] Fix profile_avatar handling of unicode in emails.