Restoring corrupt SD card image