add directory slashes