Write (header, body) pairs for symmetry with read

Signed-off-by: David Scott <dave.scott@citrix.com>