Meta: Make download_file work on Windows

The file is not committed to disk until the close which occurs at the
termination of the scope. Extract the `rename` to outside the scope
allowing this to work on Windows. The `download_file` utility downloads
a file in the `gn` build.
This commit is contained in:
Saleem Abdulrasool
2024-09-18 11:24:49 -07:00
committed by Andrew Kaster
parent fbc941d4f4
commit 199f0e45cb