DIRECTORY_SEPARATOR is \ on windows, Ln:171 replaces the path so the DIRECTORY_SEPARATOR becomes /. But Ln:176 tries to split the path using DIRECTORY_SEPARATOR constant while the path has that value replaced with a /. The fix always splits the path using /.
Summary
Fixes #194
Checklist