45a46
> #include "base/output.hh"
314c315,316
< return openFile(filename, O_WRONLY | O_CREAT | O_TRUNC, 0664);
---
> return openFile(simout.resolve(filename),
> O_WRONLY | O_CREAT | O_TRUNC, 0664);