1.) Fixed DSObjectWriter to write newlines in the output file
2.) Closing PreparedStatement objects in DBHelper after using