title: add-pnpfile doesn't work correctly
body: <p>Until now I have the following code that upload a file on SharePoint Online</p>
  
  <pre><code>#Connect-PnPOnline https://imncloud.sharepoint.com/sites/testsite -Credentials o365
  
  $file = Get-ChildItem "path\to\file.xxx"
  $own = $file.GetAccessControl().owner;
  $own=$own.Substring($own.IndexOf("\")+1);
  $who = get-pnpuser | Where-Object{$file.LoginName -match "$own"} | select id
  Add-PnPFile -Path $file.FullName -folder "path/to/" -Values @{Author=$who.id;Editor=$who.id;Created=$_.CreationTimeUtc; Modified=$_.LastWriteTimeUtc;}
  #Disconnect-PnPOnline
  </code></pre>
  
  <p>and it works without any problems. Now, when I try to execute the code I obtain the error that the file or the folder with name <a href="https://mytenant.sharepoint.com/path/to" rel="nofollow noreferrer">https://mytenant.sharepoint.com/path/to</a>" already exists.</p>
  
  <p>Do you know if some changed in the source code?
  I also used previously the method</p>
  
  <pre><code>ensure-pnpfolder
  </code></pre>
  
  <p>and it, until now, worked like indicated in the help; now, if I use it, I obtain the same error like that before.</p>
  
  <p>Any suggestion?</p>