Improved support for downloading and validating a uri containing a Windows UNC path or a relative file:// scheme