Found while investigating #4593 

Take this simple example 
````markdown
---
title: "test"
format: html 
---

Test
````

I put that on another drives than when Quarto is installed and called example `K:` 

It will error 
````powershell
quarto render test.qmd
pandoc
  to: html
  output-file: test.html
  standalone: true
  section-divs: true
  html-math-method: mathjax
  wrap: none
  default-image-extension: png

metadata
  document-css: false
  link-citations: true
  date-format: long
  lang: en
  title: test

ERROR: NotFound: Le fichier spécifié est introuvable. (os error 2), readdir 'test_files\mediabag'

NotFound: Le fichier spécifié est introuvable. (os error 2), readdir 'test_files\mediabag'
    at Object.readDirSync (deno:runtime/js/30_fs.js:120:16)
    at removeIfEmptyDir (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/core/path.ts:49:31)
    at renderCleanup (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/cleanup.ts:103:3)
    at file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render.ts:293:9
    at withTiming (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/core/timing.ts:37:20)
    at Object.complete (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render.ts:292:7)
    at async Object.onPostProcess (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render-files.ts:565:28)
    at async renderFiles (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render-files.ts:521:7)
    at async render (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render-shared.ts:101:18)
    at async Command.fn (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/cmd.ts:210:26)
````

First investigation shows that `Deno.readDirSync` has an issue on Windows reading this mediabag dir 

* Folder is there on disk, with no content

````powershell
> tree
Structure du dossier pour le volume KBFS
Le numéro de série du volume est 0000-0000
K:.
└───test_files
    ├───mediabag
    └───libs
        ├───bootstrap
        ├───clipboard
        └───quarto-html
> ls test_files/mediabag
````

but from Deno REPL

```node
// folder is seen
> Deno.lstatSync("test_files/mediabag")
{
  isFile: false,
  isDirectory: true,
  isSymlink: false,
  size: 4,
  mtime: 2023-03-03T09:38:54.289Z,
  atime: 2023-03-03T09:38:54.289Z,
  birthtime: 2023-03-03T09:38:54.289Z,
  dev: null,
  ino: null,
  mode: null,
  nlink: null,
  uid: null,
  gid: null,
  rdev: null,
  blksize: null,
  blocks: null
}

// folders are listed
> for (const _entry of Deno.readDirSync("test_files")) {
  console.log(_entry)
}
{ name: "libs", isFile: false, isDirectory: true, isSymlink: false }
{ name: "mediabag", isFile: false, isDirectory: true, isSymlink: false }
undefined

// but Deno will error on reading mediabag
> for (const _entry of Deno.readDirSync("test_files/mediabag")) {
  console.log(_entry)
}
Uncaught NotFound: Le fichier spécifié est introuvable. (os error 2), readdir 'test_files/mediabag'
    at Object.readDirSync (internal:runtime/js/30_fs.js:119:14)
    at <anonymous>:2:27
```

We currently rely on this to remove empty dir  (`existsSync` return TRUE for `mediabag`)

https://github.com/quarto-dev/quarto-cli/blob/86b22ca080cefca5efe8746972515bcd8f0d29df/src/core/path.ts#L47-L52

Looking at the code for `Deno.emptyDir` which is supposed also to check for emptyness, it seems the TryCatch on `NotFound` error (that we have here) is important 

https://github.com/denoland/deno_std/blob/635da0f56c8c7b2294b0448763bda1d055dcfe44/fs/empty_dir.ts#L11

This is also the function we use to create the mediabag dir , so it seems the right way
https://github.com/quarto-dev/quarto-cli/blob/dee0d817154a0bdec1a502da715b9e61cff570b0/src/command/render/render.ts#L97-L98

So something is not ok here. 

**IMPORTANT** This does not happen when I am in the same drive on Windows as quarto - `mediabag` is correctly remove for the same qmd file. 



cderv
2023-03-03T11:15:34Z
cderv
bug windows file-systems deno
v1.4
open
Empty mediabag can't be remove when project is on another drives on Windows
https://github.com/quarto-dev/quarto-cli/issues/4614