Fix issue downloading files with incorrect or empty md5