decode takes no keyword arguments in python-2.6