Rename local file automatically when it's an archive.