Generate 2-byte lengths for strings.

This updates #5.