Changes in Dirac benchmarking script to make it able be run with old Python interpreters