Use setFlags instead of rpm.ts._flags

The _flags property does not exist yet. Neither do the _vsflags or _color
properties, but we don't really use those two anyway.
type 'rpm.ts' is not an acceptable base type

Ok.
Misspelled "property"