On the Mechanisms of MoS2-Film Failure in Sliding Friction