Save data as txt instead of csv