THRIFT-782. perl: Perl code for writing containers doesn't count length of write*Begin or write*End This patch adds appropriate accounting of the start and end bytes when writing out container types. Patch: Conrad Hughes