Ensure the tmp_path is sufficiently open.