hide the flowDef to improve encapsulation and facilitate creation of flows that do not have a flowDef such as riffle jobs
respect name chosen by job for flowstats file
Revert "respect name chosen by job for flowstats file"

This reverts commit dbc727bc58311e77e6475fc3be6a62b0d7b76c2f.