check to confirm sql has an ending semicolon

Saw bug where EOL no semicolon separates statements. This will check to confirm sql has an ending semicolon before saving EOL.
Merge pull request #20 from codearachnid/patch-1

check to confirm sql has an ending semicolon