Test for issue #1008
Fix #1008, Correct argument to PySequence_Fast_GET_ITEM
Merge pull request #1009 from wiredfool/putdata-1008

Fix for Image.putdata segfault