Modify the extension of files