refs #5538; fix file generation