fix at get_md5_digest, now it works with py3