add section sign-post comments
pass a write function internally to _pack_* functions