Convert tabs to spaces for stringbuffer/stringbuilder