Make 0alias work with binary files under Python 3