Updated _tree_log and accompanying test for overwriting old files.
Closed #17.