return the correct content-type for the graph

without the proper content-type, all you see is a garbled binary output....