gravatar: do not pass unicode strings to urllib.quote()

urllib.quote() wants byte strings; it is not unicode-safe.
This may need attention on Python3.

Signed-off-by: David Aguilar <davvid@gmail.com>