Corrects Encoding Issue when use github_deploy

I'm getting an  Unicode Encode exception when I use this util to upload the pages to the github branch.