Added (temporary) bug fix for tornado.web.send_error