Remove trailing spaces from integration template files