More tests for XpmImagePlugin.py
flake8
Rename bad variable name 'file' to 'TEST_FILE', remove unused 'data' variable
Fix scrambled XPM image, don't mmap when load_read/load_seek is defined. Fixes #806
Merge pull request #808 from wiredfool/xpm_load_image

Fix Scrambled XPM