Fixed "Script backup.pl fails to create backup in given directory.".
Fixes bug#9842.