Write the output from `inspect` to a file in the sandbox to aid debugging