make parents of configuration directory if they do not exist