Delete dead print-header code

We only have one task per file now.
Add missing includes for utimes