drop this for now, but FYI you can do this without making temporary files by using os.Pipe and referencing /dev/fd/3 and /dev/fd/4 (works on Linux and perhaps Mac too).