Fix output redirection issue
Update path in get-agent.py for CoreOS