add output file to exception in order to aid debugging

Signed-off-by: Oliver Lillie <buggedcom@gmail.com>