Added code to prevent an empty backup file from saving.