[misc] xar:format
[misc] fix missing escape in error message