replace < and > in path strings with _ before writing to deal with some weird C# class names