s3:registry: reg_format: handle unterminated REG_SZ blobs