changed constructors for TransactionalFileOutputStream