Create directories to store configuration files if necessary