Bugfix
Add flush to TransactionalFileOutputStream