if(dump) {
/* we write to a temporary file and rename into place */
byte_xasprintf(&tmp, "%s.%lx.tmp", path, (unsigned long)getpid());
if(dump) {
/* we write to a temporary file and rename into place */
byte_xasprintf(&tmp, "%s.%lx.tmp", path, (unsigned long)getpid());