Extract common md5 code
Default chunk size for computing md5s
Add code to check if files are already downloaded.

This can save a few minutes here and there if you have to interrupt
processing.