fix(PU): Rollback transaction when failing to import a file in setUpBeforeClass() (closes #4765)