Add Repository#putStream function.