Python 3 compatibility for PNG/ZIP improvements

Updates for #95 (I have no idea why it could not find _imaging, there was only a warning for _imaging.c and it compiled fine, though).

Tested with 2.7 and 3.2