set content-type to text/html when sending error page from file