don't use mktemp for sonatype rest via curl