Get UID and GID for device nodes

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>