MAINT: use Image.frombytes if available

fromstring is deprecated in python3 capable pillow