Change Image import to support Pillow

PIL is no longer actively developed, but Pillow is an almost drop-in replacement. It requires only that the Image module be imported from the PIL namespace and not from the global one