walkDir does not work
**Describe the bug** 🐛
A clear and concise description of what the bug is.

The `walkDir` iterator outputs nothing regardless of the contents of the directory.

**To Reproduce** 👨‍🔬
Steps to reproduce the behavior:
1. Create SPA
2. Use this code:
```nim
import happyx, os

appRoutes("app"):
  "/":
    tDiv:
      for i in walkDir("."): # does not work on all paths
        {i} # only an empty div is created regardless of how many files/directories exist
```
3. Run `hpx dev`

Output HTML:
```html
<html><head>
    <meta charset="utf8">
    <title>app</title>
    
  </head>
  <body>
    <div id="app"><div></div></div> <!-- only 1 empty div  created -->
    <script src="main.js"></script>
  <script>let socket = new WebSocket('ws://127.0.0.1:5000/hcr');
socket.onmessage = (event) => {
  if(event.data === 'true'){
    window.location.reload();
  }
};

function intervalSending(){
  socket.send('reload')
}

setInterval(intervalSending, 1000);
</script>
</body></html>
```

**Expected behavior** 🤔
A clear and concise description of what you expected to happen.

The expected output should be like the following code:
```nim
import os
for i in walkDir("."):
  echo i # outputs current directory's contents
```
Using this code on https://play.nim-lang.org, outputs the following:
```nim
(kind: pcDir, path: "./nimble")
(kind: pcDir, path: "./nim")
```

**Please complete the following information** 📃
 - OS: [e.g. Win10] Arch Linux
 - OS Version [e.g. 22] Rolling
 - HappyX version [e.g. 2.4.1] (to see it you can use `hpx -v`) HappyX 3.8.0
 - HappyX project type [ssr/spa] SPA
 - Nim version [e.g. 2.0.0] 2.0.2
 - Browser [e.g. chrome] (For SPA projects) Firefox
 - Browser Version [e.g. 22] 121.0.1 (64-bit)

**Additional context** ✌
Add any other context about the problem here.

This may affect other iterators like `walkDirs` and `walkDirRec`. I did not check that though.