Merge "Fix the WriteStringToFile overload that takes mode/owner/group."