def _make_stream_binary(stream):
    try:
        fileno = stream.fileno()
    except _NoFilenoError:
        return
    _make_binary_on_windows(fileno)
Performs common verification and set up for upload and download.
dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/__init__.py/_make_stream_binary--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/AppCfgApp._SetupLoad