uart_pty: Add CR/LF conversion to the tap