Fixed remaining sha1 unicode py3 error ocurrencies