### Bug description

Hello,

I receive the following error during quarto preview of a website build:
`ERROR: PermissionDenied: Access is denied. (os error 5), stat 'NETWORK\PATH\quarto_site_error\_site'`

To trigger the error, all of the following have had to be true.

* Previewing a website.
* Directory is on a network drive (which I am not the administrator of)
* The qmd file has any script rendering a leaflet or mapview map (likely caused by htmlwidgets)

Happens in either RStudio or VScode. Rendering works fine; only affects the preview. Using Windows. 

Full reproduction here: https://github.com/arthurgailes/repro_quarto_preview_error

quarto.yml:
```
project:
  type: website
```

Quarto check:
      Version: 1.2.269
      Path: C:\Program Files\Quarto\bin
      CodePage: 1252

Thank you for your help.

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [ ] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
- [X] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
cderv
2023-04-05T15:58:27Z
arthurgailes
bug windows file-systems
v1.4
open
Quarto Preview: Access Denied
https://github.com/quarto-dev/quarto-cli/issues/5104