handle case where image files contain SVG data

This changes `parseIdentify` cause it was throwing an error due to the SVG data. 
Looks like a safe change but I am not sure.