Add rabbitmq basedir parameter and create directories if needed