Fixed bug in Log to CSV function that missed a "