Close file handle of temporary file when downloading mozinfo.json