addBeforFileExtension: Add Text Before File-Extension
Description
This function helps changing character strings like file-names and allows adding the character vector 'add'
(length 1) before the extension (defined by last '.') of the input string 'x'.
Used for easily creating variants/additional filenames but keeping current extension.