Correctly handle binascii.Error.
Use for loop instead of map when not iterating.
Check for bytes rather than str.
Use bytes literals instead of string literals.
Use 2to3 in setup.py.
Change itertools import style so that it is corrected by 2to3
Hack to prevent 2to3 from changing this.