Small improvments to file listing in tree.rb