Also catch OSError when trying to open a serial port that doesn't exist
(apparently some versions of pyserial do this, some SerialException
instead.)