Fix last xlog file name generation in backup process

This could have caused inconsistent backups.