I may be wrong, but I think the reason is that Pan X databases are not just files. They are packages. You may have to provide additional options to the filecatalog( function.
You can use the listfiles( function. It does not seem to have issues with .pandb files.