lib/download.c: unconstify to fix a warning.