prevent potential leakage of Default {} resources

where we only have a single file, or ini_setting resource, we remove the
File {} or Ini_setting {} defaults, and put them into said resource.
This prevents potential leakage, while shrinking the code by a few of
lines.