Made downloading SHA-1 more robust