Re #8882. Generalise the path to the stresstesting module.

So that this script can be run from a different working directory.