Avoid filename collisions in different trees clashing in backup/undo directories.