Fixed python 3.x issue in redis.py