added a compression argument to to_csv to be sent to _get_handle

Writing `csv` with `gzip` is very useful as it both minimized the disk size taken by large data files,
and can be often read by *R* faster than the same `csv` file without compression. 
Also, reading by *R* is done without any effort by the user, and is also already supported in *Pandas*