disabled use of fdatasync on apple computers