Clean up imports.
Stop using 'with', which is illegal in Python < 2.5.
Add trailing new line.
Stop testing Python 3.2 (not supported).