Fix filenames collisions.