Added polyfill wrapper for python3 compatibility

String translation changed between 2 and 3, so this should make them
compatibile