Attempt to get and create a proper directory for config storage.