Ensure configuration directory exists