Ensure attachment parameters are still scrubbable

We should only set the file content examination flag if an attachment
is actually present, otherwise the attachable code further up in the
model gets confused and thinks an attachment is there when it isn't.