Add "append" and "truncate" options