Allow pipeline to be used with redis-py 2.7.3