tdb: use fdatasync() instead of fsync() in transactions