udpater: Call fsync() after rename().
Tao Bao authored
We need to ensure the renamed filename reaches the underlying storage.

Bug: 22840552
Change-Id: I824b6e9d8a9c5966035be7b42a73678d07376342
(cherry picked from commit dc392262)
be19dce8