Download files first to detect some errors earlier in the build process