I think this line should be
```strcpy(input_params->output.suffix, "");```
instead.