Handle GNU/OSX mktemp syntax different.