Fix removal of CFC extension from filename.