stat.go: Add group names

Because user.LookupID() is incredibly slow and inefficient, and this program needs to be able to look up group IDs as well, I have copied my code from ls for convert user/group IDs into names.