Add trap to remove unsubmitted keys from ssh-agent
Make mktemp work on OSX and Linux