Minor cleanups and pep8 fixes.

Some of the fixes here are intended to prepare pack64 for Python 3, but
note that most of the code is actually completely wrong for Python 3
right now.
a nice, Python-3-compatible merge

Conflicts:
	python/pack64.py