experiment with direct syscall for stat on bsd