Add header row to merged output file