bugfix for python3 md5 hashing