[#2592] Minor tweaks for Filesystem::dumpFile