[tor-commits] [tor/master] Prevents negative number of written bytes on error message.