Revert "Disable fsync() (franciscofranco)"

This reverts commit 515629bb382520807342e9da0793c1def004c161.
merges