Fixed python3 things in util_hash