fetchurl: resume download of curl exits with status code 18

Addresses failures on hydra as: http://hydra.nixos.org/build/14928592/nixlog/1/raw