Update node in travis.yml
Upgrade temp
Pipe the temp file to the original path all the time.

Also cleanup the old temp files and make sure it keeps the original
file modes.