Use API for walking directories in view engine

Removed verbose directory tree walking in the view engine. There is an
API for that, doh!