FIX str.decode in python2.6 does not take keyword arguments