reverted append mode for csv file