stringhelper method to add a suffix before filename extension (if exists)