Add a filename to syntax errors for downstream reporting.