Add conditional support for excluding types of files from xattr ops.