fixed file name truncation

filtering of backups was removing one path element which would result in truncated file names on restore.