Properly encode author in comments

Rather than manually converting to string, this uses `format`, which properly handles extended characters in author names.