add progress callback for download
Merge remote-tracking branch 'upstream/master'