client: implemented SerialPort::write() for Linux