[PATCH] sysupgrade-ext2 sync before writing image, not after