[ros-diffs] [royce] 17517: invoke _generate_dsp() have it open the output file, and fix some path parsing and const issues.