Get rid of temporary file usage.

Hopefully I got the quoting right.