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

Test fails before fix, passes after fix.

r?