rename ObjectWriter -> HeaderWriter