Use monkeypatch to force shutil to not use the fd functions