Add error handling of mlir::openOutputFile
Add error handling of mlir::openOutputFile

Dump error message on creation failure.

PiperOrigin-RevId: 267361550

tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,arborh/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,annarev/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,chemelnucfin/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,freedomtan/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,petewarden/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,sarvex/tensorflow,gunan/tensorflow,renyi533/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,chemelnucfin/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,aldian/tensorflow,DavidNorman/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,aam-at/tensorflow,xzturn/tensorflow,aldian/tensorflow,arborh/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,gautam1858/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,renyi533/tensorflow,gunan/tensorflow,petewarden/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,yongtang/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,annarev/tensorflow,karllessard/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,chemelnucfin/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,yongtang/tensorflow,chemelnucfin/tensorflow,renyi533/tensorflow,sarvex/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,davidzchen/tensorflow,annarev/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,xzturn/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,davidzchen/tensorflow,gunan/tensorflow,karllessard/tensorflow,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,chemelnucfin/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,Intel-Corporation/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,xzturn/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,chemelnucfin/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,DavidNorman/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,aldian/tensorflow,arborh/tensorflow,jhseu/tensorflow,gunan/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,freedomtan/tensorflow,annarev/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,yongtang/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,arborh/tensorflow,annarev/tensorflow,petewarden/tensorflow,paolodedios/tensorflow,Intel-Corporation/tensorflow,arborh/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,arborh/tensorflow,yongtang/tensorflow,xzturn/tensorflow,aam-at/tensorflow,yongtang/tensorflow,chemelnucfin/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,arborh/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,aldian/tensorflow,annarev/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,renyi533/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,chemelnucfin/tensorflow,gautam1858/tensorflow,jhseu/tensorflow,xzturn/tensorflow,gunan/tensorflow,sarvex/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,ppwwyyxx/tensorflow,yongtang/tensorflow,aldian/tensorflow,gunan/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,tensorflow/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,ppwwyyxx/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,Intel-tensorflow/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,petewarden/tensorflow,annarev/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,cxxgtxy/tensorflow,gunan/tensorflow,petewarden/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,freedomtan/tensorflow,adit-chandra/tensorflow,cxxgtxy/tensorflow,gunan/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,aam-at/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,aam-at/tensorflow