Fix ziplist encoding and redis safe key logging.