more tests needing <sys/stat.h>
Add the syscall tests back. Couple of files and tests were also renamed forconsistency. All of these now mimic the libc structure.