[fix bug 920973] Allow saving profiles without photo.