Adding a Python 2.6 fallback for decode()

https://docs.python.org/2/library/stdtypes.html#str.decode

 Changed in version 2.7: Support for keyword arguments added.