Use curl -d to pass query parameters in the bottle download strategy

Fixes #33355.