Changed read()/write() return values to ssize_t in serial interface class