fix wrong reference to fgen module in --tmpl-pregenerate