Fix header generation bug.
Fix header generation bug.

Since I installed cesm 1.2.2 some time ago, the job script generator wasn't attaching job headers properly.  I finally narrowed down the problem to not replicating something I had done in the 1.0.x scripts a very long time (several years) ago:

set legpesize = `${UTILROOT}/Tools/taskmaker.pl -sumpes`

UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts