dump repo to file