cli_test: Add IStream wrapper for lavf IO