Issue #16993: shutil.which() now preserves the case of the path and extension
on Windows.