for better output format of ls-tree and cat-file