handle unknown mimetype exception in is_image check.