refactor: path module already has your back on the whole separator thing

No need to calculate the path separator. The path module already does that.