fix get_outfile_sql for incremental exports