Stop using trailing slash on dirs.