minor fixes - fdopendir - might need to free some DIR structs?
openat wrapper added - again, may be leaking DIR structs, have to check stat_free