read_csv_any_formats: Read a csv file using read_csv and avoid errors
Description
The csv file is read twice to detect the number of lines to use in
attributing the column type ('guess_max' parameter of read_csv). This avoids
common errors when reading csv files.