flashcast: support local squashfs image modification