Add a WriteStringToFile overload that cares about permissions.

Change-Id: I857a80b61768d4e9610bdd149eff2d9d8e48d2c0
2 files changed