Allow --text-info to load resources also from relative file:// URIs