Fix write_raw_image to work with mmc
Merge "Fix write_raw_image to work with mmc" into twrp2.5