Fix Windows Path Sanitation

Fixes #3068.

## Benchmarks

### Before

```text
Calculating -------------------------------------
with no questionable path
                         23598 i/100ms
with a single-part questionable path
                         23137 i/100ms
with a multi-part questionable path
                         21023 i/100ms
with a single-part traversal path
                         22509 i/100ms
with a multi-part traversal path
                         22209 i/100ms
with the exact same paths
                         27870 i/100ms
with a single-part absolute path including the base_directory
                         20155 i/100ms
with a multi-part absolute path including the base_directory
                         19565 i/100ms
with a single-part traversal path including the base_directory
                         19598 i/100ms
with a multi-part traversal path including the base_directory
                         19123 i/100ms
-------------------------------------------------
with no questionable path
                       338105.9 (±5.6%) i/s -    1699056 in   5.041212s
with a single-part questionable path
                       318878.6 (±6.5%) i/s -    1596453 in   5.027918s
with a multi-part questionable path
                       275802.9 (±6.2%) i/s -    1387518 in   5.050206s
with a single-part traversal path
                       314833.7 (±6.6%) i/s -    1575630 in   5.027440s
with a multi-part traversal path
                       296817.0 (±6.0%) i/s -    1488003 in   5.031807s
with the exact same paths
                       399532.6 (±5.8%) i/s -    2006640 in   5.039580s
with a single-part absolute path including the base_directory
                       264620.6 (±6.4%) i/s -    1330230 in   5.047639s
with a multi-part absolute path including the base_directory
                       256029.4 (±5.9%) i/s -    1291290 in   5.061697s
with a single-part traversal path including the base_directory
                       259016.4 (±6.5%) i/s -    1293468 in   5.016217s
with a multi-part traversal path including the base_directory
                       257328.8 (±5.5%) i/s -    1300364 in   5.068768s
```

### After

```text
TBD
```

@jekyll/windows, would you please test?