Fix py3 compat.