Fixed bug in Python2 where str.decode does not use a keyword for the encoding.