Rely on FreeImage to report failures to write the ouptut file