refs #5538; fix engine file generation