add linux fdatasync function to CRTL, fix for bug 1140