Make graphite plugin resilient to IOError

Add IOError to the list of problems caught when attempting to write to
Graphite.  Reason was because "IOError: Connection timed out" would percolate
out to the top level and exit logstash.