Updates for extracting ramdisk from FOTA

Change-Id: Ice202732f3dcb0c0b42d8ecb9d966b9873655233