Allow the virus scanning to be skipped in some cases

for example with the attachment repairer