MDL-25314 some more header diagnostics when preparing to send file