def get_to_csv(args={}, fh = nil, format = :long)   
      raise GatticaError::InvalidFileType, "Invalid file handle" unless !fh.nil?
      results(args, fh, :csv, format)
    end
def get_to_csv(args={}, fh = nil, format = :long)   
      raise GatticaError::InvalidFileType, "Invalid file handle" unless !fh.nil?
      results(args, fh, :csv, format)
    end
Performs a Gattica::Engine#get but instead of returning the dataset streams it to the file handle in a CSV format

 == Usage

   gs = Gattica.new({:email => 'johndoe@google.com', :password => 'password', :profile_id => 123456})
   fh = File.new("file.csv", "w")
   gs.get_to_csv({ :start_date => '2008-01-01',
            :end_date => '2008-02-01',
            :dimensions => 'browser',
            :metrics => 'pageviews',
            :sort => 'pageviews',
            :filters => ['browser == Firefox']}, fh, :short)

 See Gattica::Engine#get to see details of arguments