Solved issue #46 and picked the last missing py3k changes

Fixed: https://github.com/python-imaging/Pillow/issues/46

Merged: https://github.com/Susurrus/Pillow/commit/7073529d37b8a4f70debbdaecbe57542603710a3