add functioins for transactionalfileoutputstream
Merge branch 'master' of https://github.com/zhiyiting/DistributedSystems