Can now walk through directory tree. Ignores files starting with foo. Ignores /.git directories. Renames all files in directory tree to foo0, foo1, foo2, foo4, etc.
Old Version. Broken. Kept for archiving purposes.