Fix Scrambled XPM

Includes/fixes #806.

* Fixes ImageFile.load so that it skips mmap when there's custom load_read or load_seek defined. 
* Includes sanity test for xpm file that fails prior.