slightly better tests for existence of xattr functions