Fix #3691, use curl instead of fetch to download update files