genimg: Write MBR.