Fix progress bar calculation bug in download

Download progress bar was using the number of missing blocks as
its length.
It now uses the total number of blocks in the file, instead.
Unescape escaped names before printing to console