Fixed the use of --xattrs with --only-write-batch.