Updates for extracting ramdisk from FOTA

Change-Id: Iaa4c98cb030a714733f8fa5119a78bee9fcd73ef