Improve attribs.c, remove legacy/attribs.c, got legacy listing working properly.