Switched Badger::Filesystem::Path to do the right thing for is_file() and is_directory()