Changed PIL to Pillow for newly supported formats.