Bug 1107147 - toStringMethod: Check return value from StringBuffer::finishString(). r=fitzgen