Fixed in-house pipeline bugs

- Empty header ftl files fixed
- Some hardcoded paths in param.csv fixed