export to text file (fields are separated by tab)