get checksum from md5sum output