Python3 fix

This patch should fix the main python 3 to Julia issues  (not sure if 'ascii' is best)