Error when output file extension doesn't match output format

If the extension of the output file and the output format doesn't match the desired extension (depending on the engine) errors might occur.

E.g. output as xlsx is desired but given file ends in csv:

memory-channels-processor --source "*" --band "*" --type "*" --output-file "file_name.csv" --output-format="xlsx"
Assignee Loading
Time tracking Loading