fix: splitPath not working on windows