[file-io] Groovy write to file (newline)