Fix MD5 checking and check on whether or not the file is already
downloaded