Improving condition checks

Unzipping the Unifi distribution now overwrites older existing files,
and the test for the backupfile now skips correctly if there is no
backup file.