More compatibility fixes for py3.
More compatibility fixes for py3.

wcmckee/nikola,berezovskyi/nikola,okin/nikola,pluser/nikola,andredias/nikola,okin/nikola,okin/nikola,yamila-moreno/nikola,TyberiusPrime/nikola,getnikola/nikola,jjconti/nikola,kotnik/nikola,masayuko/nikola,techdragon/nikola,damianavila/nikola,servalproject/nikola,lucacerone/nikola,techdragon/nikola,schettino72/nikola,kotnik/nikola,getnikola/nikola,masayuko/nikola,immanetize/nikola,okin/nikola,servalproject/nikola,xuhdev/nikola,kotnik/nikola,wcmckee/nikola,knowsuchagency/nikola,JohnTroony/nikola,lucacerone/nikola,yamila-moreno/nikola,getnikola/nikola,JohnTroony/nikola,andredias/nikola,x1101/nikola,Proteus-tech/nikola,schettino72/nikola,Proteus-tech/nikola,s2hc-johan/nikola,masayuko/nikola,s2hc-johan/nikola,gwax/nikola,TyberiusPrime/nikola,jjconti/nikola,immanetize/nikola,techdragon/nikola,JohnTroony/nikola,TyberiusPrime/nikola,andredias/nikola,xuhdev/nikola,wcmckee/nikola,servalproject/nikola,jjconti/nikola,damianavila/nikola,knowsuchagency/nikola,atiro/nikola,pluser/nikola,damianavila/nikola,berezovskyi/nikola,schettino72/nikola,lucacerone/nikola,xuhdev/nikola,yamila-moreno/nikola,xuhdev/nikola,gwax/nikola,x1101/nikola,getnikola/nikola,gwax/nikola,Proteus-tech/nikola,berezovskyi/nikola,Proteus-tech/nikola,atiro/nikola,pluser/nikola,s2hc-johan/nikola,knowsuchagency/nikola,x1101/nikola,immanetize/nikola,atiro/nikola