fixed additional header handling when sending exception, setting filename for wms exceptions