Confd 6.2 creating wrong named py file

Executing the following -
confdc --emit-python factory-default.fxs

The expectation is that the file file is created.
However, the hyphen (-) is replaced with an underscore (_) and the file is created.

Is this expected?

For Python API specific questions, it is best to raise a RT ticket with our support team. The User Forum is mainly focused on the C API.