att_getentbyatt returns "bad use attribtute" if string attribute is