Add __next__ for Python 3 compatibility.
Get latest PMI.
Need to read in binary mode for Python 3.
Make sure files are closed.
Use binary mode for file IO.
Make sure file handles are closed.
Use new "true" division.
Coerce to list, since we change the dict during iteration.
Coerce to list (map is an iterator in Python 3).
Coerce map to list.
Make sure file is closed.
Use new importlib.machinery if available.
Support division of Transformation2D in Python 3.