writeFile package:protolude

Write a string to a file. The file is truncated to zero length before writing begins.