IO: Added DFS metadata handler

> Extract of DFS from #1017