Raise an error if split fails, causing the load to fail. This fixes the
problem where dbsync leaves empty or near-empty tables if the temporary
directory is unexpectedly cleared while a batch load is running.