fix up ill-fated conflation between ascii and binary (actually could have shared code in tm_str_to_X case but…meh?)
share trivially shareable 7/8-bit conversion code