create cfg dir if it does not exist