JS: Only search for "." in file name part of the file path when saving cfg files
JS: Only search for "." in file name part of the file path when saving cfg files

This change allows the ".cfg" extension to be added to file paths that contain a "." in the directory part of the file path

Signed-off-by: Stephen Wong <6f34db11dd2258ec4ffa799eb0d7827f906cb1c6@ausenco.com>

jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim