Add an optimization to pthread aio writes to also do fsync if requested.