mimic nonzero exit status of download.file()