Output error on invalid SVG

@kevva, this was the fix that allowed me to find and deal with an invalid SVG that stopped my imagemin process from running. I think it would be a good idea to output when an SVG borks up everything.

Credits for finding this go out to @alpadev.