Fixed error catching over h5py versions.
Fixed error catching over h5py versions.

PiperOrigin-RevId: 314099586
Change-Id: I4ee2ad47e79399808bd54a441d043f99cd8cddd2

karllessard/tensorflow,annarev/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,aldian/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,annarev/tensorflow,tensorflow/tensorflow,aldian/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,Intel-Corporation/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,sarvex/tensorflow,petewarden/tensorflow,annarev/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,sarvex/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,yongtang/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,aldian/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,freedomtan/tensorflow,Intel-Corporation/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,cxxgtxy/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,aldian/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,sarvex/tensorflow,sarvex/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,davidzchen/tensorflow,annarev/tensorflow,yongtang/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,aldian/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,annarev/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,aldian/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,annarev/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,annarev/tensorflow,yongtang/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,annarev/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,aldian/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,freedomtan/tensorflow