Fixed header writing