[engine] Allow chained name_source

replace with six.string_types