fix store-file handling as parameter in BatchInserterImpl, backport from 1.9