http://bugs.winehq.org/show_bug.cgi?id=48083
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- Okay, this is the correct behaviour and mirrors what Windows 10 does. So do we want special handling for non-Windows filenames?
In Windows 10 "test.", "test..", "test...", and so on all become "test". It's not possible to make a filename that ends with a stop.