:bulb: Add data attributes on directory and file views

It’ll allow for complex theming of the tree view items through CSS
attributes selectors and without relying on another package that’ll
have to poll for changes (see DanBrooker/file-icons package).