io.encodings: Add a stream-tell method for decoder streams.
unix.utmpx: Support utmpx on linux and fix on macosx. Add a unit test.