make compute_checksum function robust against memory errors
Merge pull request #801 from boegel/checksum_memoryerror

make compute_checksum function robust against memory errors