Replace PIL with Pillow

Thanks to Roman Osipenko