fetchurl: resume download of curl exits with status code 18