fixed problem with creating the in-memory csv when data contained quotes and updated usginmodels