MDL-39558 badges: Add badge images to backup/restore