UNESCO 'agrees to open Libya office'