Adapt path separator for Windows