remove old diagnostics file if it exists