Creating the config directory if it does not already exist.