fix(object parameters): accept empty string for values

Enable stripping of extension using object parameters.
Empty string was being ignored.
Enable stripping of dirname and basename (for consistency) as well.