Rename the file with the extension