Run the progressbar based on file transfer size

This addresses Issue 15.  Now both uploads and downloads display progress 
based on the total number of bytes transferred out of the total bytes to 
be transferred.