test avoiding syscalls in netbsd by using internal name instead for lstat, fstat