### Bug description

Hi,

I'm re-render a quarto [book](https://github.com/camilogarciabotero/biocomp-book) with the latest version (99.99) commit 8c2b10dc4. 

And got the following error: 

```

ERROR: Failed to generate bibliography, rendering failed with code 1
pandoc: /Users/camilogarcia/Documents/Teaching/BiologyCourses/BI0487/Lectures/biocomp-book/Users/camilogarcia/Documents/Teaching/BiologyCourses/BI0487/Lectures/biocomp-book/references.bib: openBinaryFile: does not exist (No such file or directory)


Error: Failed to generate bibliography, rendering failed with code 1
pandoc: /Users/camilogarcia/Documents/Teaching/BiologyCourses/BI0487/Lectures/biocomp-book/Users/camilogarcia/Documents/Teaching/BiologyCourses/BI0487/Lectures/biocomp-book/references.bib: openBinaryFile: does not exist (No such file or directory)

    at renderToCSLJSON (file:///Users/camilogarcia/Applications/quarto-cli/src/core/bibliography.ts:99:13)
    at async bibliographyCslJson (file:///Users/camilogarcia/Applications/quarto-cli/src/core/bibliography.ts:22:24)
    at async googleScholarReferences (file:///Users/camilogarcia/Applications/quarto-cli/src/format/html/format-html-meta.ts:241:22)
    at async file:///Users/camilogarcia/Applications/quarto-cli/src/format/html/format-html-meta.ts:42:33
    at async file:///Users/camilogarcia/Applications/quarto-cli/src/command/render/render.ts:392:24
    at async withTimingAsync (file:///Users/camilogarcia/Applications/quarto-cli/src/core/timing.ts:50:20)
    at async runHtmlPostprocessors (file:///Users/camilogarcia/Applications/quarto-cli/src/command/render/render.ts:383:5)
    at async renderPandoc (file:///Users/camilogarcia/Applications/quarto-cli/src/command/render/render.ts:169:33)
    at async Object.onRender (file:///Users/camilogarcia/Applications/quarto-cli/src/project/types/book/book-render.ts:214:28)
    at async renderFiles (file:///Users/camilogarcia/Applications/quarto-cli/src/command/render/render-files.ts:482:11)
```


I'm on macOS:

```
                    'c.          
                 ,xNMM.          ----------------------
               .OMMMMo           OS: macOS 12.6 21G115 x86_64
               OMMM0,            
     .;loddo:' loolloddol;.      Kernel: 21.6.0
   cKMMMMMMMMMMNWMMMMMMMMMM0:    Uptime: 1 day, 23 hours, 46 mins
 .KMMMMMMMMMMMMMMMMMMMMMMMWd.    Packages: 211 (brew)
 XMMMMMMMMMMMMMMMMMMMMMMMX.      Shell: zsh 5.8.1
;MMMMMMMMMMMMMMMMMMMMMMMM:       Resolution: 1440x900, 1920x1080
:MMMMMMMMMMMMMMMMMMMMMMMM:       DE: Aqua
.MMMMMMMMMMMMMMMMMMMMMMMMX.      WM: Rectangle
 kMMMMMMMMMMMMMMMMMMMMMMMMWd.    Terminal: iTerm2
 .XMMMMMMMMMMMMMMMMMMMMMMMMMMk   Terminal Font: JetBrainsMono-Regular 18
  .XMMMMMMMMMMMMMMMMMMMMMMMMK.   CPU: Intel i5-8257U (8) @ 1.40GHz
    kMMMMMMMMMMMMMMMMMMMMMMd     GPU: Intel Iris Plus Graphics 645
     ;KMMMMMMMWXXWMMMMMMMk.      Memory: 6236MiB / 8192MiB
       .cooc,.    .,coo:.
```

It looks like the `references.bib` file path is being wrongly generated in the function `renderToCSLJSON ` probably in the `cmd.push(join(Deno.cwd(),join(dir,biblio)));` line.

```
export async function renderToCSLJSON(
  dir: string,
  biblios: string[],
): Promise<CSL[]> {
  const bibloEntries = [];
  for (const biblio of biblios) {
    const cmd = [pandocBinaryPath()];
    cmd.push(join(Deno.cwd(), join(dir, biblio)));
    cmd.push("-t");
    cmd.push("csljson");
    cmd.push("--citeproc");

    const result = await execProcess(
      { cmd, stdout: "piped", stderr: "piped", cwd: dir },
    );
    if (result.success) {
      if (result.stdout) {
        const entries = JSON.parse(result.stdout);
        bibloEntries.push(...entries);
      }
    } else {
      throw new Error(
        `Failed to generate bibliography, rendering failed with code ${result.code}\n${result.stderr}`,
      );
    }
  }
  return bibloEntries;
}
```

Thanks!

### 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.
- [X] 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.
2022-10-14T14:24:24Z
camilogarciabotero
bug
closed
ERROR: Failed to generate bibliography in Quarto 99.9.9
https://github.com/quarto-dev/quarto-cli/issues/2851