Catch Image IOError

orig: grangier#24