- set files back to new when writing of the archive fails
- fix missing filename in log message