Moved dumpDBToCacheDir(...) to ResourceUtils.