- Patch #943112 by ksenzee: file_file_download() should delegate header checks to a separate function.