fixed a bug:  trailing newline on a sqlStmt in an export file was causing sql parser to fail