Python 2.6: decode() takes no keyword arguments

Fixes "TypeError: decode() takes no keyword arguments" in Python 2.6