Revert "lib/download.c: xbps_fetch_file: remove unnecesary memset() calls."

This reverts commit 74970f2e921f0cc9ffbbfb569fc76e303eceae75.