Replace StringIO with pipe for fetching remote manifest