Fix textio formatting of bit and bit_vector