Replace hardcoded curl with nanliu-staging's staging::file.

This replaces the hardcoded `curl` exec with a more flexible
downloader provided by nanliu-staging.  It can use wget or curl,
and will autodetect the right one to use.