anchor.diff:  
                       if authenticated && verbose then
                           tracefn "Downloading from %O to %s" !downloadUrl targetFileName
  -                    let dir = Path.GetDirectoryName targetFileName
  -                    if Directory.Exists dir |> not then Directory.CreateDirectory dir |> ignore
  +
  +                    ensureDir targetFileName
   
                       use trackDownload = Profile.startCategory Profile.Category.NuGetDownload
   
  
positive.code:             CleanDir p
          | _ -> ()
  
      let rec getFromCache (caches:Cache list) =
          match caches with
          | cache::rest ->
  
negative.code:                 let cacheFile = FileInfo(Path.Combine(cacheFolder,normalizedNupkgName))
                  if cacheFile.Exists && cacheFile.Length > 0L then
                      tracefn "Copying %O %O from cache %s" packageName version cache.Location
                      ensureDir targetFileName
                      File.Copy(cacheFile.FullName,targetFileName)
                      true
                  else
                      let cacheFile = FileInfo(Path.Combine(cacheFolder,nupkgName))
                      if cacheFile.Exists && cacheFile.Length > 0L then
                          tracefn "Copying %O %O from cache %s" packageName version cache.Location
                          ensureDir targetFileName
                          File.Copy(cacheFile.FullName,targetFileName)
                          true
                      else
  