Set Filename first when creating alg from history. Refs #6575

A better solution is required for more general cases where some algorithms
get additional properties after another is set.
Update indirect inelastic scripts to new Python. Refs #6575