Rename to the correct extension