Reopen the files in the specified encoding