Remove suffixes from files in a folder.