Update BulkInserter.cs

better transaction support
buffering optimization