Fix leaked file and registry descriptors
Fix leaked file and registry descriptors

hinerm/ITK,itkvideo/ITK,richardbeare/ITK,jmerkow/ITK,PlutoniumHeart/ITK,cpatrick/ITK-RemoteIO,atsnyder/ITK,LucHermitte/ITK,hinerm/ITK,biotrump/ITK,Kitware/ITK,thewtex/ITK,CapeDrew/DITK,jcfr/ITK,InsightSoftwareConsortium/ITK,GEHC-Surgery/ITK,GEHC-Surgery/ITK,Kitware/ITK,malaterre/ITK,msmolens/ITK,CapeDrew/DITK,msmolens/ITK,hjmjohnson/ITK,rhgong/itk-with-dom,biotrump/ITK,hinerm/ITK,atsnyder/ITK,malaterre/ITK,thewtex/ITK,BlueBrain/ITK,jcfr/ITK,fbudin69500/ITK,hendradarwin/ITK,hendradarwin/ITK,LucHermitte/ITK,blowekamp/ITK,stnava/ITK,rhgong/itk-with-dom,InsightSoftwareConsortium/ITK,malaterre/ITK,paulnovo/ITK,CapeDrew/DCMTK-ITK,stnava/ITK,hinerm/ITK,richardbeare/ITK,LucasGandel/ITK,zachary-williamson/ITK,BRAINSia/ITK,LucasGandel/ITK,spinicist/ITK,InsightSoftwareConsortium/ITK,fbudin69500/ITK,rhgong/itk-with-dom,richardbeare/ITK,jcfr/ITK,wkjeong/ITK,zachary-williamson/ITK,hjmjohnson/ITK,fuentesdt/InsightToolkit-dev,hinerm/ITK,LucHermitte/ITK,biotrump/ITK,paulnovo/ITK,ajjl/ITK,hjmjohnson/ITK,paulnovo/ITK,CapeDrew/DCMTK-ITK,rhgong/itk-with-dom,jmerkow/ITK,jmerkow/ITK,wkjeong/ITK,thewtex/ITK,PlutoniumHeart/ITK,vfonov/ITK,stnava/ITK,msmolens/ITK,InsightSoftwareConsortium/ITK,hinerm/ITK,paulnovo/ITK,LucHermitte/ITK,zachary-williamson/ITK,atsnyder/ITK,thewtex/ITK,BlueBrain/ITK,itkvideo/ITK,LucasGandel/ITK,PlutoniumHeart/ITK,CapeDrew/DITK,fedral/ITK,hendradarwin/ITK,zachary-williamson/ITK,fedral/ITK,eile/ITK,LucasGandel/ITK,CapeDrew/DCMTK-ITK,stnava/ITK,fuentesdt/InsightToolkit-dev,itkvideo/ITK,jmerkow/ITK,itkvideo/ITK,itkvideo/ITK,vfonov/ITK,fbudin69500/ITK,GEHC-Surgery/ITK,msmolens/ITK,PlutoniumHeart/ITK,biotrump/ITK,atsnyder/ITK,CapeDrew/DITK,paulnovo/ITK,CapeDrew/DCMTK-ITK,daviddoria/itkHoughTransform,eile/ITK,biotrump/ITK,jcfr/ITK,spinicist/ITK,CapeDrew/DITK,Kitware/ITK,zachary-williamson/ITK,daviddoria/itkHoughTransform,BRAINSia/ITK,Kitware/ITK,hendradarwin/ITK,blowekamp/ITK,vfonov/ITK,GEHC-Surgery/ITK,BRAINSia/ITK,thewtex/ITK,fbudin69500/ITK,paulnovo/ITK,spinicist/ITK,daviddoria/itkHoughTransform,thewtex/ITK,msmolens/ITK,itkvideo/ITK,BlueBrain/ITK,LucasGandel/ITK,spinicist/ITK,itkvideo/ITK,Kitware/ITK,BRAINSia/ITK,eile/ITK,cpatrick/ITK-RemoteIO,itkvideo/ITK,PlutoniumHeart/ITK,fedral/ITK,LucasGandel/ITK,wkjeong/ITK,ajjl/ITK,blowekamp/ITK,LucHermitte/ITK,CapeDrew/DCMTK-ITK,jmerkow/ITK,zachary-williamson/ITK,msmolens/ITK,blowekamp/ITK,hjmjohnson/ITK,ajjl/ITK,blowekamp/ITK,heimdali/ITK,eile/ITK,jcfr/ITK,stnava/ITK,GEHC-Surgery/ITK,heimdali/ITK,Kitware/ITK,PlutoniumHeart/ITK,msmolens/ITK,vfonov/ITK,atsnyder/ITK,BRAINSia/ITK,vfonov/ITK,ajjl/ITK,ajjl/ITK,jcfr/ITK,wkjeong/ITK,msmolens/ITK,LucHermitte/ITK,CapeDrew/DCMTK-ITK,CapeDrew/DITK,hjmjohnson/ITK,BlueBrain/ITK,daviddoria/itkHoughTransform,BlueBrain/ITK,zachary-williamson/ITK,hinerm/ITK,cpatrick/ITK-RemoteIO,cpatrick/ITK-RemoteIO,CapeDrew/DITK,atsnyder/ITK,richardbeare/ITK,stnava/ITK,eile/ITK,fedral/ITK,eile/ITK,spinicist/ITK,hinerm/ITK,cpatrick/ITK-RemoteIO,daviddoria/itkHoughTransform,CapeDrew/DCMTK-ITK,hendradarwin/ITK,GEHC-Surgery/ITK,richardbeare/ITK,hinerm/ITK,ajjl/ITK,vfonov/ITK,blowekamp/ITK,fuentesdt/InsightToolkit-dev,biotrump/ITK,GEHC-Surgery/ITK,malaterre/ITK,jcfr/ITK,BlueBrain/ITK,daviddoria/itkHoughTransform,blowekamp/ITK,heimdali/ITK,wkjeong/ITK,daviddoria/itkHoughTransform,fedral/ITK,LucasGandel/ITK,cpatrick/ITK-RemoteIO,InsightSoftwareConsortium/ITK,malaterre/ITK,fuentesdt/InsightToolkit-dev,wkjeong/ITK,eile/ITK,heimdali/ITK,fedral/ITK,fbudin69500/ITK,biotrump/ITK,atsnyder/ITK,vfonov/ITK,rhgong/itk-with-dom,CapeDrew/DCMTK-ITK,CapeDrew/DCMTK-ITK,Kitware/ITK,malaterre/ITK,fuentesdt/InsightToolkit-dev,hendradarwin/ITK,spinicist/ITK,hjmjohnson/ITK,malaterre/ITK,fuentesdt/InsightToolkit-dev,CapeDrew/DITK,PlutoniumHeart/ITK,jcfr/ITK,fbudin69500/ITK,paulnovo/ITK,atsnyder/ITK,itkvideo/ITK,paulnovo/ITK,fbudin69500/ITK,ajjl/ITK,zachary-williamson/ITK,richardbeare/ITK,vfonov/ITK,ajjl/ITK,atsnyder/ITK,heimdali/ITK,LucHermitte/ITK,stnava/ITK,heimdali/ITK,thewtex/ITK,daviddoria/itkHoughTransform,heimdali/ITK,eile/ITK,wkjeong/ITK,cpatrick/ITK-RemoteIO,jmerkow/ITK,hjmjohnson/ITK,fbudin69500/ITK,CapeDrew/DITK,cpatrick/ITK-RemoteIO,malaterre/ITK,fedral/ITK,spinicist/ITK,stnava/ITK,spinicist/ITK,zachary-williamson/ITK,rhgong/itk-with-dom,fuentesdt/InsightToolkit-dev,BRAINSia/ITK,fuentesdt/InsightToolkit-dev,stnava/ITK,hendradarwin/ITK,eile/ITK,spinicist/ITK,BRAINSia/ITK,blowekamp/ITK,GEHC-Surgery/ITK,biotrump/ITK,fedral/ITK,wkjeong/ITK,hendradarwin/ITK,LucasGandel/ITK,PlutoniumHeart/ITK,BlueBrain/ITK,heimdali/ITK,LucHermitte/ITK,fuentesdt/InsightToolkit-dev,malaterre/ITK,jmerkow/ITK,daviddoria/itkHoughTransform,InsightSoftwareConsortium/ITK,InsightSoftwareConsortium/ITK,jmerkow/ITK,richardbeare/ITK,rhgong/itk-with-dom,rhgong/itk-with-dom,vfonov/ITK,BlueBrain/ITK