The effect of thin film formation at crack tips on fracture