replace salt._compat.string_types with six.string_types