I'm unsure where your data comes from, why it contains \n etc. Perhaps your problem is solved if instead of using columns and `text` you use the direct assignments of attributes to your string variable? Sth. like
for o in current do {
string objID = o."Absolute Number"
string objText = o."Object Text"
string objPrio = o."Priority"
…
file <<"\n" objID "," "\"" objText "\"" "," "\"" objPrio "\"" …
if this does not work, please post an example of your data.