Use frombytes instead of fromstring on PIL images, since the latter is now deprecated
Fix Image.frombytes for older version of Python/PIL
Merge pull request #886 from stefanv/bug/pil-fromstring_to_bytes

Use frombytes instead of fromstring on PIL images