Fix crawl function invocation in crawl.each.file: both filename and metadata need to be given as arguments