Fix check for subprocess.check_output.

The check for the presence of subprocess.check_output should be

    try:
        return getattr(subprocess, "check_output")(*args, **kwargs)
    except AttributeError:
        ...

but one may as well always override the definition.