fchmod takes two
u32's as uid and gid which are subsequently cast to usize. Everywhere else in the API uids and gids are
usize. I'd prefer to just use
u32 for uid and gid, but that's a personal preference and since
usize is used everywhere else, I don't mind too much, but I'd like to see
fchmod get changed to reflect the decision on type for uid and gid, regardless.
Originally posted in #21