a small collection of filesystem code I tend to have in all go project.