Revert "Trim headerRecord"

This reverts commit aa13e259e907a49791a18c3e8b95e132b1c7be66.
Trim header records

Remove whitespace from header records before matching. Fix for cases
where the header looks like: header1,  header2,  header3