Fix build error on OS X due to incorrect constructor param type.

Refs #7557
Merge branch 'feature/7557_muon_rm_tmp_file' into develop