Fix discovery of system databases, they don't necessarily have file_guid for all database files.
Fix casting bug to String