Make the file picker work for non database data containers

Fixes an error similar to the one pointed out in #5565 for all data containers that don't extend `DC_Table` and therefore have no database connection.