Backup dir/file bugfix