Updates for extracting ramdisk from FOTA

Change-Id: I91d6b0e1550cc87f3b7cbe57c2af5794c3a68ff0