At this time, fs.chown requires int values for uid and gid.
So, what is the recommended way to get these int values from a UNIX-like system?
Should I read /etc/passwd and /etc/group directly?
That does not seem like the right way to do it...