make sure mqtt_data directory exists