df.coalesce(1).write.format("csv").option("header", false).option("quote", "").save(path)​

This is the code and yes I do have comma in the string ​