Use directory separator constant for compatibility.