fix issue with process.setgid that need to use the id rather than name.