Tiny fixes to backup.py