Fixed a problem with the renaming dialog. We can't just remove the file ending on the given new project name, because it could be company.domain.project.