Manage the whole class of "integrity errors" also when retrying a batch...
Convert --root-dir to its truename before processing it, and manage errors to do so.
Skip empty lines when reading from files.