Bugfix: completing APIResource.responseStream implementation to save
output