Allow files and directories to be queried by xattr, i.e. from syntool.py (or from a library it uses, that other programs can import).