demo(download): fix download process

From 566ae7323e / #1576.