Fixes a page write race in the batch importer

regarding creating the neostore and moving on to starting the actual
import. This would have been a problem when the IoQueue was used as the
writer.

This commit adds a flush+wait after creating the neostore to remedy this
problem.