rmFilesByStem: Remove files by matching the starting part
Description
If x is a string, then this function matches x* by globbing.
If x is a "PlInfoC" object, it matches x@plink_stem*,
If x is a "RbedInfoC" object, it matches x@pl_info@plink_stem*.
Otherwise nothing is removed.