datatable: check fmt.Fprint errors (Thanks Mykola Dvornik)