fix #1311 -- make github_deploy Python 3-compatible

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1312 from getnikola/fix-1311

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