replaced remaining hardcoded dir separators with path.sep