Catch IOError which is thrown by OS X

This error comes up easily becuase fc-list is a X11 program, which is
missing or misconfigured on OS X.
Merge pull request #2154 from torcolvin/master

catch fontconfig errors on OS X