ensured all uid/gid returned before subsequent call

put all uses of uid/gid in callback from fs.stat.