Bug fix in backup function for file-per-object repositories