Trim headerRecord fields

Remove white space from header records to allow for the following
example: header1,  header2 ,header3