Fix undefined name: import as_str_any for line 35 (#16668)
Fix undefined name: import as_str_any for line 35 (#16668)

flake8 testing of https://github.com/tensorflow/tensorflow on Python 2.7.14

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./tensorflow/python/util/compat_internal.py:33:12: F821 undefined name 'as_str_any'
    path = as_str_any(path.__fspath__())
           ^
```
renyi533/tensorflow,apark263/tensorflow,Xeralux/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,meteorcloudy/tensorflow,snnn/tensorflow,aselle/tensorflow,xodus7/tensorflow,chemelnucfin/tensorflow,gunan/tensorflow,yongtang/tensorflow,annarev/tensorflow,nolanliou/tensorflow,xodus7/tensorflow,jart/tensorflow,dendisuhubdy/tensorflow,zasdfgbnm/tensorflow,arborh/tensorflow,jendap/tensorflow,petewarden/tensorflow,petewarden/tensorflow,karllessard/tensorflow,karllessard/tensorflow,allenlavoie/tensorflow,dendisuhubdy/tensorflow,arborh/tensorflow,apark263/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,jbedorf/tensorflow,hehongliang/tensorflow,nburn42/tensorflow,jbedorf/tensorflow,snnn/tensorflow,adit-chandra/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,yanchen036/tensorflow,aselle/tensorflow,frreiss/tensorflow-fred,ghchinoy/tensorflow,DavidNorman/tensorflow,davidzchen/tensorflow,allenlavoie/tensorflow,asimshankar/tensorflow,yanchen036/tensorflow,yongtang/tensorflow,manipopopo/tensorflow,dendisuhubdy/tensorflow,annarev/tensorflow,nolanliou/tensorflow,sarvex/tensorflow,Xeralux/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,seanli9jan/tensorflow,arborh/tensorflow,chemelnucfin/tensorflow,xodus7/tensorflow,jbedorf/tensorflow,nolanliou/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ageron/tensorflow,benoitsteiner/tensorflow-xsmm,av8ramit/tensorflow,ghchinoy/tensorflow,jalexvig/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jendap/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,dancingdan/tensorflow,freedomtan/tensorflow,apark263/tensorflow,manipopopo/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,alshedivat/tensorflow,freedomtan/tensorflow,sarvex/tensorflow,xodus7/tensorflow,seanli9jan/tensorflow,gunan/tensorflow,renyi533/tensorflow,manipopopo/tensorflow,jalexvig/tensorflow,nburn42/tensorflow,DavidNorman/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,annarev/tensorflow,kevin-coder/tensorflow-fork,ZhangXinNan/tensorflow,apark263/tensorflow,ZhangXinNan/tensorflow,benoitsteiner/tensorflow-xsmm,annarev/tensorflow,alshedivat/tensorflow,aselle/tensorflow,snnn/tensorflow,nolanliou/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,alsrgv/tensorflow,sarvex/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,eaplatanios/tensorflow,chemelnucfin/tensorflow,asimshankar/tensorflow,kobejean/tensorflow,kobejean/tensorflow,paolodedios/tensorflow,alshedivat/tensorflow,gunan/tensorflow,asimshankar/tensorflow,dongjoon-hyun/tensorflow,jbedorf/tensorflow,theflofly/tensorflow,annarev/tensorflow,meteorcloudy/tensorflow,davidzchen/tensorflow,Bismarrck/tensorflow,ppwwyyxx/tensorflow,dancingdan/tensorflow,renyi533/tensorflow,lukeiwanski/tensorflow,dongjoon-hyun/tensorflow,renyi533/tensorflow,cxxgtxy/tensorflow,hehongliang/tensorflow,arborh/tensorflow,paolodedios/tensorflow,jhseu/tensorflow,apark263/tensorflow,girving/tensorflow,yanchen036/tensorflow,adit-chandra/tensorflow,aam-at/tensorflow,jart/tensorflow,lukeiwanski/tensorflow,dendisuhubdy/tensorflow,tensorflow/tensorflow,jhseu/tensorflow,nolanliou/tensorflow,ageron/tensorflow,dongjoon-hyun/tensorflow,Xeralux/tensorflow,alsrgv/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,arborh/tensorflow,brchiu/tensorflow,AnishShah/tensorflow,dongjoon-hyun/tensorflow,yanchen036/tensorflow,lukeiwanski/tensorflow,adit-chandra/tensorflow,aselle/tensorflow,ageron/tensorflow,ZhangXinNan/tensorflow,karllessard/tensorflow,theflofly/tensorflow,nburn42/tensorflow,jart/tensorflow,jbedorf/tensorflow,Intel-tensorflow/tensorflow,seanli9jan/tensorflow,davidzchen/tensorflow,eaplatanios/tensorflow,theflofly/tensorflow,arborh/tensorflow,meteorcloudy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,davidzchen/tensorflow,hfp/tensorflow-xsmm,ppwwyyxx/tensorflow,aam-at/tensorflow,alsrgv/tensorflow,freedomtan/tensorflow,av8ramit/tensorflow,paolodedios/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,yongtang/tensorflow,dongjoon-hyun/tensorflow,kevin-coder/tensorflow-fork,girving/tensorflow,AnishShah/tensorflow,caisq/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,zasdfgbnm/tensorflow,renyi533/tensorflow,meteorcloudy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,eaplatanios/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,ghchinoy/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Xeralux/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,dendisuhubdy/tensorflow,drpngx/tensorflow,adit-chandra/tensorflow,Xeralux/tensorflow,xodus7/tensorflow,jbedorf/tensorflow,manipopopo/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,caisq/tensorflow,Intel-Corporation/tensorflow,av8ramit/tensorflow,gunan/tensorflow,yongtang/tensorflow,aldian/tensorflow,Bismarrck/tensorflow,xzturn/tensorflow,ghchinoy/tensorflow,kobejean/tensorflow,hehongliang/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,ppwwyyxx/tensorflow,yongtang/tensorflow,ageron/tensorflow,hfp/tensorflow-xsmm,aam-at/tensorflow,alsrgv/tensorflow,av8ramit/tensorflow,freedomtan/tensorflow,aldian/tensorflow,aselle/tensorflow,lukeiwanski/tensorflow,jart/tensorflow,dancingdan/tensorflow,AnishShah/tensorflow,allenlavoie/tensorflow,cxxgtxy/tensorflow,benoitsteiner/tensorflow-xsmm,cxxgtxy/tensorflow,lukeiwanski/tensorflow,alshedivat/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Xeralux/tensorflow,meteorcloudy/tensorflow,snnn/tensorflow,davidzchen/tensorflow,ZhangXinNan/tensorflow,ghchinoy/tensorflow,AnishShah/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,alsrgv/tensorflow,gojira/tensorflow,meteorcloudy/tensorflow,xodus7/tensorflow,girving/tensorflow,nburn42/tensorflow,AnishShah/tensorflow,ghchinoy/tensorflow,manipopopo/tensorflow,dancingdan/tensorflow,nolanliou/tensorflow,dongjoon-hyun/tensorflow,gojira/tensorflow,snnn/tensorflow,gojira/tensorflow,theflofly/tensorflow,xodus7/tensorflow,chemelnucfin/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,hfp/tensorflow-xsmm,dendisuhubdy/tensorflow,aam-at/tensorflow,xodus7/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jendap/tensorflow,caisq/tensorflow,Xeralux/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow,jendap/tensorflow,av8ramit/tensorflow,zasdfgbnm/tensorflow,dancingdan/tensorflow,kobejean/tensorflow,Bismarrck/tensorflow,petewarden/tensorflow,jalexvig/tensorflow,zasdfgbnm/tensorflow,aselle/tensorflow,nburn42/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,zasdfgbnm/tensorflow,AnishShah/tensorflow,ZhangXinNan/tensorflow,gautam1858/tensorflow,arborh/tensorflow,Xeralux/tensorflow,brchiu/tensorflow,snnn/tensorflow,tensorflow/tensorflow,eaplatanios/tensorflow,jhseu/tensorflow,aselle/tensorflow,kevin-coder/tensorflow-fork,benoitsteiner/tensorflow-xsmm,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,ghchinoy/tensorflow,kobejean/tensorflow,freedomtan/tensorflow,caisq/tensorflow,chemelnucfin/tensorflow,av8ramit/tensorflow,jendap/tensorflow,sarvex/tensorflow,DavidNorman/tensorflow,kobejean/tensorflow,sarvex/tensorflow,gojira/tensorflow,jbedorf/tensorflow,gautam1858/tensorflow,caisq/tensorflow,alshedivat/tensorflow,paolodedios/tensorflow,annarev/tensorflow,adit-chandra/tensorflow,xzturn/tensorflow,aldian/tensorflow,drpngx/tensorflow,annarev/tensorflow,dancingdan/tensorflow,seanli9jan/tensorflow,gautam1858/tensorflow,hehongliang/tensorflow,aselle/tensorflow,karllessard/tensorflow,Bismarrck/tensorflow,zasdfgbnm/tensorflow,AnishShah/tensorflow,karllessard/tensorflow,manipopopo/tensorflow,nolanliou/tensorflow,asimshankar/tensorflow,zasdfgbnm/tensorflow,aam-at/tensorflow,apark263/tensorflow,Bismarrck/tensorflow,caisq/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,eaplatanios/tensorflow,alshedivat/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,ageron/tensorflow,xodus7/tensorflow,jalexvig/tensorflow,apark263/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jalexvig/tensorflow,lukeiwanski/tensorflow,Xeralux/tensorflow,jhseu/tensorflow,theflofly/tensorflow,eaplatanios/tensorflow,Xeralux/tensorflow,freedomtan/tensorflow,Bismarrck/tensorflow,benoitsteiner/tensorflow-xsmm,sarvex/tensorflow,Bismarrck/tensorflow,kevin-coder/tensorflow-fork,ageron/tensorflow,ageron/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,nburn42/tensorflow,brchiu/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,hfp/tensorflow-xsmm,xzturn/tensorflow,dongjoon-hyun/tensorflow,gunan/tensorflow,lukeiwanski/tensorflow,xzturn/tensorflow,arborh/tensorflow,caisq/tensorflow,frreiss/tensorflow-fred,hehongliang/tensorflow,jart/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,nburn42/tensorflow,zasdfgbnm/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,lukeiwanski/tensorflow,jalexvig/tensorflow,yanchen036/tensorflow,renyi533/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,hfp/tensorflow-xsmm,ghchinoy/tensorflow,jart/tensorflow,nburn42/tensorflow,ppwwyyxx/tensorflow,drpngx/tensorflow,renyi533/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,drpngx/tensorflow,nburn42/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,jendap/tensorflow,AnishShah/tensorflow,jart/tensorflow,ZhangXinNan/tensorflow,cxxgtxy/tensorflow,ghchinoy/tensorflow,asimshankar/tensorflow,caisq/tensorflow,dancingdan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ageron/tensorflow,yongtang/tensorflow,jendap/tensorflow,alsrgv/tensorflow,gojira/tensorflow,gojira/tensorflow,alsrgv/tensorflow,manipopopo/tensorflow,allenlavoie/tensorflow,petewarden/tensorflow,dongjoon-hyun/tensorflow,Intel-tensorflow/tensorflow,ageron/tensorflow,girving/tensorflow,eaplatanios/tensorflow,ghchinoy/tensorflow,paolodedios/tensorflow,seanli9jan/tensorflow,hfp/tensorflow-xsmm,chemelnucfin/tensorflow,Bismarrck/tensorflow,allenlavoie/tensorflow,AnishShah/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,aldian/tensorflow,DavidNorman/tensorflow,chemelnucfin/tensorflow,ghchinoy/tensorflow,karllessard/tensorflow,jbedorf/tensorflow,gunan/tensorflow,asimshankar/tensorflow,arborh/tensorflow,caisq/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,karllessard/tensorflow,ZhangXinNan/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,xzturn/tensorflow,av8ramit/tensorflow,seanli9jan/tensorflow,benoitsteiner/tensorflow-xsmm,theflofly/tensorflow,jalexvig/tensorflow,seanli9jan/tensorflow,asimshankar/tensorflow,girving/tensorflow,sarvex/tensorflow,alshedivat/tensorflow,aam-at/tensorflow,hfp/tensorflow-xsmm,dendisuhubdy/tensorflow,allenlavoie/tensorflow,brchiu/tensorflow,Intel-tensorflow/tensorflow,av8ramit/tensorflow,theflofly/tensorflow,brchiu/tensorflow,xzturn/tensorflow,jhseu/tensorflow,hfp/tensorflow-xsmm,nolanliou/tensorflow,paolodedios/tensorflow,brchiu/tensorflow,hfp/tensorflow-xsmm,drpngx/tensorflow,av8ramit/tensorflow,allenlavoie/tensorflow,alsrgv/tensorflow,xodus7/tensorflow,alsrgv/tensorflow,apark263/tensorflow,aselle/tensorflow,arborh/tensorflow,brchiu/tensorflow,allenlavoie/tensorflow,jendap/tensorflow,manipopopo/tensorflow,jendap/tensorflow,allenlavoie/tensorflow,frreiss/tensorflow-fred,kevin-coder/tensorflow-fork,aam-at/tensorflow,jendap/tensorflow,gojira/tensorflow,ageron/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,jhseu/tensorflow,hfp/tensorflow-xsmm,nburn42/tensorflow,aldian/tensorflow,Intel-tensorflow/tensorflow,benoitsteiner/tensorflow-xsmm,DavidNorman/tensorflow,karllessard/tensorflow,hehongliang/tensorflow,meteorcloudy/tensorflow,ageron/tensorflow,apark263/tensorflow,gautam1858/tensorflow,ZhangXinNan/tensorflow,girving/tensorflow,alshedivat/tensorflow,yanchen036/tensorflow,ppwwyyxx/tensorflow,xodus7/tensorflow,karllessard/tensorflow,allenlavoie/tensorflow,benoitsteiner/tensorflow-xsmm,tensorflow/tensorflow,benoitsteiner/tensorflow-xsmm,brchiu/tensorflow,petewarden/tensorflow,dongjoon-hyun/tensorflow,Intel-Corporation/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,zasdfgbnm/tensorflow,girving/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,jart/tensorflow,snnn/tensorflow,theflofly/tensorflow,yongtang/tensorflow,AnishShah/tensorflow,ppwwyyxx/tensorflow,jalexvig/tensorflow,seanli9jan/tensorflow,ppwwyyxx/tensorflow,alshedivat/tensorflow,girving/tensorflow,seanli9jan/tensorflow,adit-chandra/tensorflow,girving/tensorflow,tensorflow/tensorflow,arborh/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,theflofly/tensorflow,kobejean/tensorflow,jalexvig/tensorflow,jhseu/tensorflow,apark263/tensorflow,zasdfgbnm/tensorflow,renyi533/tensorflow,xzturn/tensorflow,snnn/tensorflow,ppwwyyxx/tensorflow,brchiu/tensorflow,drpngx/tensorflow,kobejean/tensorflow,dendisuhubdy/tensorflow,davidzchen/tensorflow,kevin-coder/tensorflow-fork,tensorflow/tensorflow,aselle/tensorflow,davidzchen/tensorflow,manipopopo/tensorflow,gojira/tensorflow,aldian/tensorflow,benoitsteiner/tensorflow-xsmm,gautam1858/tensorflow,frreiss/tensorflow-fred,dongjoon-hyun/tensorflow,gunan/tensorflow,jbedorf/tensorflow,lukeiwanski/tensorflow,caisq/tensorflow,Xeralux/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ZhangXinNan/tensorflow,dendisuhubdy/tensorflow,av8ramit/tensorflow,Bismarrck/tensorflow,drpngx/tensorflow,drpngx/tensorflow,eaplatanios/tensorflow,chemelnucfin/tensorflow,cxxgtxy/tensorflow,asimshankar/tensorflow,cxxgtxy/tensorflow,yanchen036/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aselle/tensorflow,nolanliou/tensorflow,kevin-coder/tensorflow-fork,benoitsteiner/tensorflow-xsmm,sarvex/tensorflow,gojira/tensorflow,dendisuhubdy/tensorflow,seanli9jan/tensorflow,asimshankar/tensorflow,Intel-tensorflow/tensorflow,freedomtan/tensorflow,kevin-coder/tensorflow-fork,paolodedios/tensorflow,gojira/tensorflow,jart/tensorflow,petewarden/tensorflow,hfp/tensorflow-xsmm,Intel-tensorflow/tensorflow,dancingdan/tensorflow,snnn/tensorflow,ageron/tensorflow,Bismarrck/tensorflow,meteorcloudy/tensorflow,kobejean/tensorflow,yongtang/tensorflow,xzturn/tensorflow,ZhangXinNan/tensorflow,DavidNorman/tensorflow,arborh/tensorflow,tensorflow/tensorflow,gunan/tensorflow,apark263/tensorflow,kobejean/tensorflow,ghchinoy/tensorflow,adit-chandra/tensorflow,eaplatanios/tensorflow,eaplatanios/tensorflow,ppwwyyxx/tensorflow,asimshankar/tensorflow,aam-at/tensorflow,asimshankar/tensorflow,renyi533/tensorflow,nolanliou/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,girving/tensorflow,snnn/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow,jart/tensorflow,DavidNorman/tensorflow,drpngx/tensorflow,theflofly/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,paolodedios/tensorflow,aldian/tensorflow,gojira/tensorflow,lukeiwanski/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,alsrgv/tensorflow,kevin-coder/tensorflow-fork,brchiu/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,dancingdan/tensorflow,tensorflow/tensorflow,jhseu/tensorflow,jbedorf/tensorflow,jhseu/tensorflow,alshedivat/tensorflow,davidzchen/tensorflow,drpngx/tensorflow,zasdfgbnm/tensorflow,jalexvig/tensorflow,kobejean/tensorflow,alshedivat/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,brchiu/tensorflow,yanchen036/tensorflow,kevin-coder/tensorflow-fork,dancingdan/tensorflow,kevin-coder/tensorflow-fork,av8ramit/tensorflow,frreiss/tensorflow-fred,manipopopo/tensorflow,ppwwyyxx/tensorflow,girving/tensorflow,Intel-Corporation/tensorflow,Intel-Corporation/tensorflow,eaplatanios/tensorflow,karllessard/tensorflow,jhseu/tensorflow,seanli9jan/tensorflow,meteorcloudy/tensorflow,jalexvig/tensorflow,tensorflow/tensorflow-pywrap_saved_model,nburn42/tensorflow,ZhangXinNan/tensorflow,dancingdan/tensorflow,snnn/tensorflow,davidzchen/tensorflow,Intel-Corporation/tensorflow,AnishShah/tensorflow,dongjoon-hyun/tensorflow,tensorflow/tensorflow,Bismarrck/tensorflow,karllessard/tensorflow,hehongliang/tensorflow,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,manipopopo/tensorflow,annarev/tensorflow,chemelnucfin/tensorflow,gunan/tensorflow,allenlavoie/tensorflow,meteorcloudy/tensorflow,aam-at/tensorflow,gunan/tensorflow,jendap/tensorflow