cron: Fixed some issues with the photo backup script.