Fix issue #82. Dirty current file when starting diagnostics