Change PIL import statements so they work with Pillow.
Closes #13.