SimpleImage class exception on load invalid file