Fix bug with .expected files

Refs #10150
Merge branch 'maint/10150_improve_loadtest_performance' into develop