Updated benchmarking script to allow output files from each thread.