use O_TRUNC on open
adding --rm-files
changelog and manpage updated