JAL-2656 recognise Gzipped file input streams by their content, not their filename