test avoiding syscalls in netbsd by using internal name instead for stat