Trying to add fdatasync and stat Gnulib functions

Change-Id: Ibfec488f83aaa16857f53f025431f2f696acc69a