Change underscore commands to use -i with temp files, instead of pipes.

(Catering to the fact that my underscore installation seems to be
broken).