Fixed misbehaving exec and spawn specs.

Don't ever, ever write to anything but a tmp() directory or file.