Use more generic chdir indicator in 'errorformat'
Save detected filename
Fix legacy autocmd support