Added i_getpw*() and i_getgr*() wrappers for getpw*()/getgr*(). These functions make error handling easier.