Remove unnecessary directory separator