Fixed incomplete header in output file.