use uid/gid for chowns.

package fails if there isn't a group with the same name as the user. Also, if you've changed your primary group, then it will get it wrong. 

This change looks up the primary uid/gids from passwd for the user and uses those as the chown target instead.