Change import line to be compatible with pillow >= 1.0

See http://pillow.readthedocs.org/en/latest/installation.html