argfix for coerce_terminal_encoding()