to_csv_gz handles non compressed files also