bug fix in writing complex numbers with tiny parts to strings