Bug in string writing.
Bug causing exponential numbers to hang