cut the filename at the last '.' not at the first in tab-names of the editor