dtoc: Update tests to write failures to /tmp