Change archive xattr layer to use xattr helper functions - fixes #6189

Signed-off-by: Harshavardhana <fharshav@redhat.com>