If the COLLADA2GLTF-bin tool is invoked with an input file with multiple file extensions and the output file also has multiple extensions and the binary flag is set to true, the output file name doesn't include multiple extensions.
For example, here the tool is invoked using files with multiple extensions:
COLLADA2GLTF-bin -i input_file.ext.dae -o output_file.ext.glb -b
The expected output filename is output_file.ext.glb. With the current implementation, the output filename is output_file.glb.