Fix import for recent versions of pillow
Merge pull request #6 from simon04/pillow-import

Fix import for recent versions of pillow