Mark tf.write_file as stateful. Fixes #30248.
Mark tf.write_file as stateful. Fixes #30248.

PiperOrigin-RevId: 256129610

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