With dumpFile() in the Filesystem class, the mode must be a param.

Clients of ConfigCache are/were using 0666 & ~umask().