Fix output file name determination from input file name

10 jobs for bugfix/wrong-output-file-names in 13 minutes and 28 seconds (queued for 1 second)
Name Stage Failure
run_dummy_prod Test
    self.assertEqual(job_content.rstrip(), test_job.rstrip())
AssertionError: '#!/b[752 chars]100000.hdata -o ./test/output/dummy100000.simt[83 chars].log' != '#!/b[752 chars]10000.hdata -o ./test/output/dummy10000.simtel[80 chars].log'
Diff is 2756 characters long. Set self.maxDiff to None to see it.

Ran 5 tests in 67.271s

FAILED (failures=2)
ERROR: Job failed: exit code 1