Replace usages of fmt! with format!