Add error handling and optimize FileIO::doBuffer() in the Bridge library

Update FileIO::doBuffer() to check for TRANSFER_TIMEOUT and set buffered to 0, and optimize by incrementing readPos instead of moving all of the data one byte to the left in the buffer to skip the error code byte.
Merge branch 'patch-1' of github.com:bobh66/Arduino into bobh66-patch-1