Tornado writing the wrong content type.