FAFT: Force to flush and sync after writing the step file

Because the test reboots DUT immedidately afterward. The file may not
write back to the disk if no flush.

BUG=chrome-os-partner:20165
TEST=Manual
Run firmware_CgptState test passed.

Change-Id: I19c0f1f9038f8a380009f40843ebe260b1c9cdaa
Reviewed-on: https://gerrit.chromium.org/gerrit/59199
Reviewed-by: Vic Yang <victoryang@chromium.org>
Commit-Queue: Tom Wai-Hong Tam <waihong@chromium.org>
Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
1 file changed