In Fez, Jeddah and Cairo, the money for restoration increasingly comes from tourism. That solves one problem and creates another.