This is needed for the paths to work when using forward slashes;
this fixes the DirectoryWatcherTests unit tests.
Also allocate missing space for the null terminator, which seems to
have been missing all along (writing the terminator out of bounds).
clang-format: please reformat the code
- std::unique_ptr<WCHAR[]> Buffer{new WCHAR[Size+1]}; + std::unique_ptr<WCHAR[]> Buffer{new WCHAR[Size + 1]};