Use raise_for_status when downloading with requests