Fix closing upon download completion in fetcher

The fileobject was not close originally and the md5 was checking a stil opened object, still always raising an error message on the first download. Now the object is closed before checking for the md5 and should work as intended.