If you are recieving the file from an unknown source, there is no way to verify that it is not corrupted on the source's end.

If you believe this is a bug with resume, please post all the details you can in the Bug Reports forum and we can address it there. If it is something you can't reproduce every time, then I'm afraid it'll probably be terribly difficult to track down.

-chris