Write files from a stream of URIs