titlebar: always pass a pathname through display_string()

So that embedded control characters will be represented
instead of acted upon.

This fixes the first part of https://savannah.gnu.org/bugs/?49867.
1 file changed