I've encountered something like this recently, my company's software only accepts tab delimited spreadsheets for import functions; writing them using the \t escape character has worked well for me so far, as well as when I need to read them back in, but YMMV.