Process language parameters before query

To make it matches what cloc uses as language identifiers.