Changed file write behavior for SQL inserts to write

Changed the parameters for the SQL insert file ('sql_insert_filename') from
append, 'a+', to write, 'w'. The SQL insert statements were just
accumulating in the file -- dumb bug.