Make the file::DirectoryInfo trait public

This was just a mistake that it was hidden.