stem export for Ardour 2.X?

I’m after a quick and easy way to convert the samplerate of large Ardour 2 sessions. I basically want to do a stem export of all the tracks to individual wav files of a lower samplerate than what they were recorded in so they can be loaded and process in another DAW. I’ve never had much luck using the unmaintained script for this thats included with Ardour 2 and I can’t use the stem export feature in Ardour 3 as my A2 sessions crash A3.

It would be cool if there was a script for doing this that could optionally bypass all plugins too if desired!?