New datatype in galaxy but default file extension when download

I successfully added a new datatype to galaxy named zipnobam. I did this to restrict the input/output of a set of tools. When I download this output file the file will get the extension .zipnobam.

Is it possible to have the datatype zipnobam inside galaxy but when I download the file it will have the .zip extension?

EDIT:

I can also do something like nobam.zip which will end in filename.nobam.zip but I would still prefer filename.zip if possible.

EDIT:

I solved it (for now) by adding the following code in galaxy/lib/galaxy/datatypes/data.py under def _download_filename

if to_ext == "nobam.zip":
    to_ext = "zip"

Of course if there is a better solution let me know :slightly_smiling_face: