Fix whitespace generation in collector config template