Make the output_directory argument in Pipeline.assemble and Assembler.run required. The qemu assembler assumes it is passed in args and will crash without it. Making it mandatory prevents this.
dir_fd
os.scandir()