Use the domain name if there is no path specified when downloading from a URL