move encodlng= from argument of interactive() to spawn()

as well as proper decoding in the nonblocking_read() and others where appropriate ..