Sync book file after flush.