XD-682 Modify file sink to avoid dot with empty suffix

if a user specifies an empty suffix, XD will not place a "." at the end of the name.

Enhanced File Sink tests.