Guess format and encoding of .csv/.tsv files to generate options compatible with ruby CSV class.