Got TransactionalFileOutputStream working