Fix ending slash in dir