fix #1311 -- make github_deploy work on Python 3.

This is #1311.

cc @punchagan, @kz26.

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>