Ignore directory extensions on rename duplicate resolution

When making a copy of a directory that has an extension in its name, like folder.1, Thunar inserts the "n-th copy" suffix between it and the first part of the name, folder (1st copy).1. As directories do not use extensions in 99% of cases, the suffix should be put as if the name had no extension, folder.1 (1st copy).