Added "no append" (aka "truncate") mode.