Wrap PrintWriter in BufferedWriter. (ABM-267)
Remove unnecessary SQL script generation. (ABM-266)