Strip file versions from filenames.