Better error messages when Cairo is not installed

PNG/PS/PDF might be called with an IO argument instead of a filename string.
Make sure the more readable error method is called. Ref
Keno/TerminalExtensions.jl#3