Switch parse_queue to use ASUtils.tempfile to avoid race conditions in tests.