Mishandled internal investigations can put the reputation of both the company and its executives in jeopardy.