Set up os pipe buffer size, if applicable

def set_buf_size(fd):
    """Set up os pipe buffer size, if applicable"""
    if OS_PIPE_SZ and hasattr(fcntl, 'F_SETPIPE_SZ'):
        fcntl.fcntl(fd, fcntl.F_SETPIPE_SZ, OS_PIPE_SZ)