Correctly update the `tl_files` table during the version 3.1 update (see #5598)