----------------------------------------------------------------------------------------
Fixed
^^^^^
* Fix _ensure_dir() when a folder-less path is used
If a folder-less path, like "file.txt" is passed, then
`os.path.dirname(Path(path))` results in `""`, instead
of `"."`, like we want. This causes `mkdir()` to fail.
This fixes it, and adds a test for it. The test fails without the change.
Fixes https://github.com/staticjinja/staticjinja/issues/160