today I've investigated the code and found that there are some places where we need to use md5sum. There is hashlib.md5 algorithm in Python, but it returns different value than Linux md5sum utility.
Is it necessary how bad names are represented? It seems that Python and md5sum conflicts here, so we might have so call md5sum using subprocess. I'd rather prefer to use Python's md5, because calling subprocess is much slower.