Replace PIL (Python Imaging Library) with Pillow.