It'd be great to print out a warning message if someone specified a file instead of a directory:

```ruby
unless File.directory?(base)
  Jekyll.logger.warn "The data directive specified in the configuration does not exist or is not an accessible directory."
  return Array.new
end