I think both things are related: the corruption of the file shows it as not signed, i.e., breaks the signature.