On Evaluation of the Influence of a Cavity and a Damaged Fiber-Matrix Interface on Fiber Stability