Ignore decode error in pty.read()