Open the file with any existing contents truncated.
static const flags truncate = implementation_defined;