put pid in /tmp directory, fig workaround