Fix post-build script.
Change protocol so it now matches the old good TLV (type-length-value) scheme.