added -p flag on redis mkdirs