safer filesystem backend based on golang std Dir