factor out some filename/path handling
Initial approach to metadata handling.
Merge branch 'master' of https://github.com/ludwigschmidt/go-backup