[pelican_comment_system] Properly encode metadata

Related to #235

Fixes a python 2 unicode error when avatars are enabled and unicode characters are in the metadata.