Unfortunately that is a downside of the CSV configuration file format for the tree file connector at the moment. If you want to avoid your current workaround, I'd suggest using the JSON or YAML tree file configuration format instead.
Regards,
Steffen