fix boot.img extraction