decode strings if it's not Python3