write output of city flickr scrape to files