fix mime-type handling for svg