Work around order atexit execution on Ubutun12 by explicitly closes the files at the end of the main


git-svn-id: https://root.cern.ch/svn/root/trunk@48427 27541ba8-7e3a-0410-8455-c3a389f83636