Removing duplicate write of header.
Merge pull request #88 from fnothaft/dupe-header-fix

Removing duplicate write of header.