Fix AttributeError in fileserver update_opts, as some func objects passed into loop do not have the func_globals attribute
Fix AttributeError in fileserver update_opts, as some func objects passed into loop do not have the func_globals attribute

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt