MDL-35638 backup: Do not print headers during redirects