Output terminal title with putp() instead printf()
Flush output stream after setting terminal title

Fixes updating terminal title for some environments.

Thanks to filterfalse.
Merge branch 'fix-term-title-output'

Fix updating terminal title for some environments.

Thanks to filterfalse.
Consider %n in :file[x]type
Merge branch 'consider-percent-n-in-filetype'

Consider %n in :filetype and :filextype.