Drop the --build-env command-line argument. It is not used by anything. Furthermore, our manifests now allow embedding build-environments, so there is little reason to continue supporting this.
dir_fd
os.scandir()