tweaking where error files are written