Bug 912606 - Guard against bad file input, fix bad md5sums