Infer or autocorrect the format in the htsget command
The client now determines the file format as follows:
- It first tries to detect the format from the file name.
- If it can't, it uses the format the user specifies.
- If no format is detected or specified, it defaults to "BAM" (This is the file-distribution service behaviour)
Note: If both detected and specified formats are available but differ, the detected format is used.