Coffeescript and Javascript module for cleanly traversing directories and listing files