@contextmanager<EOL><INDENT>def save_stream(self, key, binary=False):<DEDENT>
mode = '<STR_LIT:wb>' if binary else '<STR_LIT:w>'<EOL>with open(os.path.join(self.uri, key), mode) as f:<EOL><INDENT>yield f<EOL><DEDENT>
Yield a file object representing `key`

:param str key: The file to save to
:param bool binary: Whether we should treat it as binary
:return: