`dumpFile()` will always create a file with `0666` permissions if the file system supports these file permissions. Analog to the behavior of `file_put_contents` and other file handling functions, one would expect that the umask setting will be taken into account.