[tor-commits] [oonib/master] move write() out of the scope of an IOError catch clause not meant for it